[Pdns-users] [recursor] configure could be more user-friendly
Stephane Bortzmeyer
bortzmeyer at nic.fr
Wed May 26 06:45:16 UTC 2010
[Sent here because I cannot find a way to create a new ticket at
<http://wiki.powerdns.com/trac/>]
./configure is not very helpful when it cannot find a library. For
instance, if Boost is not found (because it is in /usr/pkg):
% ./configure
Testing dependencies and compiler.
Using gmake to build
g++ -Wall -O3 -pthread -MM -MG *.cc *.c *.hh > dep
g++ -Wall -O3 -pthread pdns_hw.cc -o pdns_hw
pdns_hw.cc:1:34: error: boost/lexical_cast.hpp: No such file or directory
pdns_hw.cc:2:43: error: boost/multi_index_container.hpp: No such file or directory
pdns_hw.cc:3:47: error: boost/multi_index/ordered_index.hpp: No such file or directory
pdns_hw.cc:4:44: error: boost/tuple/tuple_comparison.hpp: No such file or directory
pdns_hw.cc:5:48: error: boost/multi_index/key_extractors.hpp: No such file or directory
pdns_hw.cc:6:49: error: boost/multi_index/sequenced_index.hpp: No such file or directory
pdns_hw.cc: In function 'int main()':
pdns_hw.cc:17: error: 'boost' has not been declared
pdns_hw.cc:17: error: expected primary-expression before '>' token
pdns_hw.cc:17: error: invalid operands of types 'const char [1]' and 'const char [2]' to binary 'operator<<'
gmake: [basic_checks] Error 1 (ignored)
Instead of something like, more common among free Unix programs:
Cannot find the Boost library <http://boost.org/>. If it is installed, use --with-boost
I cannot even use --help to find documentation, it yields the same
error message.
PowerDNS recursor, version 3.2
More information about the Pdns-users
mailing list