]>
Commit | Line | Data |
---|---|---|
7d7b7179 JC |
1 | PowerDNS is copyright Ⓒ 2012-2013 by PowerDNS.COM BV & lots of |
2 | contributors, using the GNU GPLv2 license. | |
bdbf07f0 | 3 | |
48cfdbc4 | 4 | All documentation can be found on http://doc.powerdns.com/ |
5 | ||
1d329048 | 6 | This file may lag behind at times. For most recent updates, always check |
951b5a77 | 7 | http://doc.powerdns.com/changelog.html and http://wiki.powerdns.com |
1d329048 BH |
8 | |
9 | Another good place to look for information is: | |
10 | http://doc.powerdns.com/compiling-powerdns.html | |
11 | ||
2847a0d2 | 12 | To file bugs, head towards: |
7d7b7179 | 13 | https://github.com/PowerDNS/pdns/issues |
2847a0d2 | 14 | |
7d7b7179 | 15 | But please check if the issue is already reported there first. |
da5d2b0f | 16 | |
48cfdbc4 | 17 | SOURCE CODE / GIT |
18 | ----------------- | |
19 | ||
20 | Source code is available on GitHub: | |
21 | ||
22 | $ git clone https://github.com/PowerDNS/pdns.git | |
23 | ||
24 | This repository contains the sources both for the PowerDNS Recursor and for PowerDNS Authoritative Server, | |
25 | and both can be built from this repository. Both are released separately as .tar.gz, .deb and .rpm however! | |
26 | ||
27 | COMPILING Authoritative Server | |
28 | ------------------------------ | |
29 | PowerDNS Authoritative Server 3.0 and beyond depend on Boost. | |
da82f61d | 30 | |
48cfdbc4 | 31 | On Debian 7.0, the following is useful: |
1d329048 | 32 | |
48cfdbc4 | 33 | apt-get install autoconf automake bison flex g++ git libboost-all-dev libtool make pkg-config ragel |
34 | ||
d022a079 | 35 | To compile a very clean version, use: |
2e938e5d | 36 | |
48cfdbc4 | 37 | $ ./configure --with-modules="" --without-lua |
7d7b7179 JC |
38 | $ make |
39 | # make install | |
2e938e5d | 40 | |
48cfdbc4 | 41 | This generates a PowerDNS Authoritative Server binary with no modules, except the bind backend, |
42 | built in. | |
1d329048 BH |
43 | |
44 | When ./configure is run without --with-modules, the gmysql module is | |
45 | built-in by default and the pipe-backend is compiled for runtime loading. | |
2e938e5d BH |
46 | |
47 | To add multiple modules, try: | |
48 | ||
7d7b7179 | 49 | $ ./configure --with-modules="gmysql gpgsql" |
2e938e5d | 50 | |
48cfdbc4 | 51 | See http://doc.powerdns.com/compiling-powerdns.html for more details. |
343546e5 | 52 | |
1d329048 | 53 | Please don't use the 'mysql' backend, it is deprecated. Use the 'gmysql' |
7d7b7179 JC |
54 | one! |
55 | ||
48cfdbc4 | 56 | COMPILING THE RECURSOR |
57 | ---------------------- | |
58 | Either use ./configure --enable-recursor or explicitly do 'make pdns_recursor'. Releases | |
59 | are built by first running dist-recursor and compiling from the pdns-recursor-x.y subdirectory. | |
bdc9f8d2 | 60 | |
343546e5 BH |
61 | SOLARIS NOTES |
62 | ------------- | |
178d5134 BH |
63 | You need gcc 3.x, preferably 3.2! The 'Sunpro' compiler is currently not |
64 | supported (patches are welcome if not too intrusive). | |
152b4591 | 65 | |
48cfdbc4 | 66 | If you encounter problems with the Solaris make, gmake is advised. |
343546e5 BH |
67 | |
68 | FREEBSD NOTES | |
69 | ------------- | |
48cfdbc4 | 70 | You need to compile using gmake - regular make only appears to work, but doesn't in fact. Use gmake, not make. |
5088e8bc | 71 | |
7d7b7179 JC |
72 | MAC OS X NOTES |
73 | -------------- | |
74 | ||
75 | PowerDNS is available through Homebrew: | |
76 | ||
77 | $ brew install pdns | |
78 | ||
79 | If you want to compile yourself, the dependencies can be installed using | |
80 | Homebrew: | |
81 | ||
cb4bdee7 | 82 | $ brew install boost lua pkg-config ragel |
7d7b7179 JC |
83 | |
84 | For PostgreSQL support: | |
85 | ||
86 | $ brew install postgresql | |
87 | ||
88 | For MySQL support: | |
89 | ||
90 | $ brew install mariadb | |
91 | ||
343546e5 BH |
92 | LINUX NOTES |
93 | ----------- | |
94 | None really. | |
12e6d4a9 | 95 | |
12e6d4a9 | 96 |