First, uncompress and unpack the distribution to a location of your choosing.
The distribution will be extracted into a directory named
mydns-0.9.7
.
Change directory into the distribution directory, then run the configure
script to configure the package for your system. The INSTALL
file has
full details on how the configure
script works. Most installers will
simply run configure
with no additional arguments.
$ ./configure
MyDNS has a few MyDNS-specific configuration options. Run
configure --help
to output a summary of all options.
If you want to make sure you compile MyDNS with MySQL support and not
PostgreSQL support, run ./configure --without-pgsql
. If you
want to make sure you compile with PostgreSQL support and not MySQL, run
./configure --without-mysql
.
After the configuration process is complete, build the package.
$ make
Then, if the build completed successfully, install the package.
# make install
The mydns
binary should now be installed in the sbin
dir beneath
the prefix
provided to the configure
script, if any. By default
it is installed as /usr/local/sbin/mydns
.