Version 53 (modified by anon, 6 years ago)

--

phentermine 37 5mg clomid success rates buy phentermine viagra alternative hydrocodone buy xanax online vicodin acyclovir side effects buy bontril buy hydrocodone online cheap ultram buy phentermine diet fuel with ephedra herbal viagra valtrex medication herbal viagra ephedrine diet pills buy ultram online acyclovir zovirax acyclovir side effects phentermine 37 5mg generic ultram hydrocodone no prescription xanax online hydrocodone no prescription acyclovir valtrex medication side effects of zoloft buy ephedra phentermine 37 5mg phentermine generic lipitor buy tadalafil diazepam buy online online vicodin buy xanax online effects of zoloft ambien online vicodin es acyclovir buy cheap xenical buy ephedra seeds meridia effectiveness cheap phentermine cheap ultracet buy ephedra seeds generic viagra buy xenical zoloft withdrawal viagra cheap bontril cheap diazepam buy ambien buy viagra drug ultracet buy hydrocodone online vicodin es buy viagra drug valtrex buy ephedra bontril sr cheap viagra cheap fioricet side effects from lipitor generic viagra valtrex medication tadalafil buy valtrex generic lipitor buy online carisoprodol valtrex clomid success rates side effects from lipitor cheap ultracet buy ephedra tadalafil alternative drug ultracet online vicodin diet fuel with ephedra side effects of zoloft acyclovir side effects acyclovir dosage buy ambien is ultracet a narcotic tadalafil effects of zoloft generic ambien generic ambien buy viagra ephedrine hcl buy phentermine buy cheap ultracet discount valtrex buy valtrex cheap viagra buy ephedra online discount phentermine cheap ultracet herbal viagra viagra alternative buy meridia ephedrine cheap phentermine hydrocodone no prescription buy ambien online buy online ultracet buy cheap codeine cheap bontril acyclovir side effects buy fioricet online phentermine online cheap viagra buy online codeine buy online codeine cheap ephedra phentermine online buy vicodin generic lipitor buy cheap ultracet phentermine online phentermine online xanax online cheap xenical cheap diazepam acyclovir zovirax buy ephedra online meridia discount generic viagra cheap ultracet phentermine buy online ultram phentermine online is ultracet a narcotic hydrocodone ambien side effects tadalafil alternative herbal viagra buy xanax side effects of clomid propecia online buy cheap ultracet viagra buy online carisoprodol buy online fioricet buy xenical online clomid success rates is ultracet a narcotic buy cheap fioricet herbal viagra buy fioricet

Getting the latest PowerDNS sources to work on

Most users are well served by our precompiled packages, or those shipped by the Linux/Unix? distribution, and others can compile from the source tarballs available on the downloads page.

However, to get really involved in PowerDNS development, or to test the latest features, you need to be able to build from the Subversion repository, or apply patches suggested by PowerDNS developers.

The descriptions below are intended for developers or for advanced users willing to experiment!

Snapshots

Regularly, snapshots are made available. Check them out on  http://svn.powerdns.com/snapshots

Applying patches to released versions

To apply a patch, get the clean PowerDNS sources the patch is against. This will generally be the latest version released, as found on the download page.

Patches are generally against a certain directory, so look at the first lines, which look something like this:

Index: dnspacket.hh
===================================================================
--- dnspacket.hh        (revision 456)
+++ dnspacket.hh        (working copy)
@@ -297,12 +297,15 @@

Here we see no directory, so we need to go to the directory containing dnspacket.hh and run:

$ patch -p0 < the-patch

The -p0 bit means "don't strip any paths from the filenames". If the patch had looked like this:

Index: dnspacket.hh
===================================================================
--- pdns/dnspacket.hh        (revision 456)
+++ pdns/dnspacket.hh        (working copy)
@@ -297,12 +297,15 @@

We would have had two choices: use patch -p1 in the directory containing dnspacket.hh, or change to the parent directory, and use patch -p0.

Building from Subversion

To retrieve the latest version, do:

$ svn co svn://svn.powerdns.com/pdns/trunk/pdns pdns
A  pdns/debian
A  pdns/debian/control
A  pdns/debian/pdns.postinst
...

This will generate a directory called pdns, containing the very latest version of our sources.

Building the recursor from Subversion

This is pretty easy, enter the pdns directory and run './dist-recursor'. This generates a directory called pdns-recursor-x.y.z, where x, y and z are version dependent. Enter this directory, and run 'make'.

Building the Authoritative Server from Subversion

For technical reasons an additional step called 'bootstrapping' is needed before you can compile. In order for this to work you need to have installed:

  • autoconf 2.59
  • automake 1.6 or 1.9.4
  • libtool 1.5.6

On linux you then run the below, on FreeBSD replace ./bootstrap by ./bootstrap.freebsd:

$ ./bootstrap
./bootstrap
Please ignore this warning when you see it:
warning: AC_TRY_RUN called without default to allow cross compiling

/usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB

Afterwards you can run ./configure as usual and build as if from a source tarball.