Changeset 1396
- Timestamp:
- 08/02/09 22:14:24 (4 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/README-recursor (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/README-recursor
r1202 r1396 20 20 1) head to http://sourceforge.net/project/showfiles.php?group_id=7586 and 21 21 download the latest boost tar.bz2 or tar.gz, perhaps from: 22 http:// surfnet.dl.sourceforge.net/sourceforge/boost/boost_1_33_1.tar.bz222 http://downloads.sourceforge.net/project/boost/boost/1.39.0/boost_1_39_0.tar.bz2?use_mirror=ovh 23 23 (use the first link if this one doesn't work) 24 24 25 25 2) untar it: 26 26 27 $ tar xjf boost_1_3 3_1.tar.bz227 $ tar xjf boost_1_39_0.tar.bz2 28 28 29 29 3) Compile the PowerDNS recursor using: 30 30 31 $ CXXFLAGS=-I./boost_1_3 3_1/ ./configure32 $ CXXFLAGS=-I./boost_1_3 3_1/ make clean33 $ CXXFLAGS=-I./boost_1_3 3_1/ make all31 $ CXXFLAGS=-I./boost_1_39_0/ ./configure 32 $ CXXFLAGS=-I./boost_1_39_0/ make clean 33 $ CXXFLAGS=-I./boost_1_39_0/ make all 34 34 (the 'clean' is needed to have make pick up the new boost) 35 35 … … 71 71 have available. Then run: 72 72 73 $ rec_control quit 74 bye 73 $ rec_control quit-nicely 74 bye nicely 75 75 76 76 Then do: … … 80 80 The resulting binary is up to 20% faster in our tests. 81 81 82 Do run with g++ 4. 1 if you can, it is the best.82 Do run with g++ 4.4.1 if you can, it is the best. 83 83 84 84 RUNNING ON A DIFFERENT MACHINE 85 85 ------------------------------ 86 To prevent hassles with g++ 4.1dependencies, you can build like this:86 To prevent hassles with g++/c++ dependencies, you can build like this: 87 87 $ STATIC=semi make all 88 88