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