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