]>
Commit | Line | Data |
---|---|---|
a3fa3228 | 1 | PowerDNS is copyright 2012 by PowerDNS.COM BV & lots of contributors |
bdbf07f0 | 2 | |
1d329048 | 3 | This file may lag behind at times. For most recent updates, always check |
951b5a77 | 4 | http://doc.powerdns.com/changelog.html and http://wiki.powerdns.com |
1d329048 BH |
5 | |
6 | Another good place to look for information is: | |
7 | http://doc.powerdns.com/compiling-powerdns.html | |
8 | ||
2847a0d2 BH |
9 | To file bugs, head towards: |
10 | ||
da8cb6b2 | 11 | https://github.com/PowerDNS/pdns/issues |
2847a0d2 BH |
12 | |
13 | but first check existing ones: | |
14 | ||
da8cb6b2 | 15 | https://github.com/PowerDNS/pdns/issues |
da5d2b0f | 16 | |
1d329048 BH |
17 | COMPILING |
18 | --------- | |
da82f61d BH |
19 | PowerDNS 3.0 and beyond depend on Lua and Boost. To get these libraries, |
20 | install the relevant packages. On Debian and Ubunty, try: | |
21 | ||
22 | # apt-get install g++ libboost-program-options-dev | |
23 | libboost-serialization-dev libpqclient-dev libmysqlclient-dev | |
24 | libsqlite3-dev libpq-dev | |
1d329048 | 25 | |
d022a079 | 26 | To compile a very clean version, use: |
2e938e5d | 27 | |
1d329048 | 28 | $ ./configure --with-modules="" |
2e938e5d BH |
29 | $ make |
30 | # make install | |
31 | ||
32 | This generates a PowerDNS binary with no modules, except the bind backend, | |
1d329048 BH |
33 | built in, and the pipe-backend available for runtime loading. |
34 | ||
35 | When ./configure is run without --with-modules, the gmysql module is | |
36 | built-in by default and the pipe-backend is compiled for runtime loading. | |
2e938e5d BH |
37 | |
38 | To add multiple modules, try: | |
39 | ||
1d329048 | 40 | $ ./configure --with-modules="gmysql gpgsql" |
2e938e5d | 41 | |
343546e5 BH |
42 | See http://rtfm.powerdns.com/compiling-powerdns.html for more details. |
43 | ||
1d329048 BH |
44 | Please don't use the 'mysql' backend, it is deprecated. Use the 'gmysql' |
45 | one! | |
e5e9d0b4 | 46 | |
951b5a77 BH |
47 | SUBVERSION / CVS |
48 | ---------------- | |
951b5a77 | 49 | If you need code from SVN read HACKING |
bdc9f8d2 | 50 | |
343546e5 BH |
51 | SOLARIS NOTES |
52 | ------------- | |
178d5134 BH |
53 | You need gcc 3.x, preferably 3.2! The 'Sunpro' compiler is currently not |
54 | supported (patches are welcome if not too intrusive). | |
152b4591 | 55 | |
343546e5 BH |
56 | If you encounter problems with the Solaris make, gmake is advised |
57 | ||
1d329048 BH |
58 | IPv6 is broken in Solaris 2.7, use 2.8 or higher for that. PowerDNS on |
59 | Solaris 2.7 won't even serve AAAA records. | |
343546e5 BH |
60 | |
61 | FREEBSD NOTES | |
62 | ------------- | |
1d329048 BH |
63 | gcc 2.95.x works. You need to compile using gmake - regular make only |
64 | appears to work, but doesn't in fact. Use gmake, not make. | |
343546e5 | 65 | |
5088e8bc BH |
66 | pipebackend does not work due to bad interaction between fork and pthreads. |
67 | Amazingly, running the Linux version under the linuxulator DOES work! | |
68 | ||
343546e5 BH |
69 | LINUX NOTES |
70 | ----------- | |
71 | None really. | |
12e6d4a9 | 72 | |
e5e9d0b4 BH |
73 | WIN32 NOTES |
74 | ----------- | |
1d329048 | 75 | See http://rtfm.powerdns.com/compiling-powerdns.html#ON-WINDOWS |
e5e9d0b4 BH |
76 | |
77 | Needs Visual C++ | |
78 | ||
12e6d4a9 BH |
79 | --- |
80 | ||
81 | After compiling, you may find the file 'pdns/pdns' helpful, we suggest you | |
82 | place it in /etc/init.d/ or your operating system's equivalent. | |
83 |