After unpacking the PDNS distribution the files need to be moved to appropriate locations.
PDNS can be installed in a variety of directories, which can easily be customized to local policy. Two ways are available - manual and via a menu.
The menu is invoked by executing the './choosepaths' script and answering the questions. The manual way involves editing the 'pathconfig' file. The choice is up to you.
After deciding paths, change to root and execute the 'installer' script. This will:
Configure the PowerDNS binary so it knows where the configuration directory is
If necessary, create the configuration directory
Write sample configuration file (not overwriting existing one)
Write a SysV-style init.d script in the configured directory
Move binaries and libraries to the configured places
At this point some things may have gone wrong. Typical errors include:
Errors looking like this indicate a mismatch between your PDNS distribution and your Unix operating system. Download the static PDNS distribution for your operating system and try again. Please contact <pdns-support@powerdns.com> if this is impractical.