[Pdns-dev] Compiling pdns on OS X
Ask Bjørn Hansen
ask at develooper.com
Mon Jan 31 12:36:27 CET 2011
I'm trying to get pdns (from svn/git) to compile on my macbook to make it easier to develop some tools (pipe backend and an HTTP API for managing the database).
I had an old configure file that'd make a Makefile except for the new oraclebackend directory (grrh); so I re-ran ./bootstrap and now when I run
CXXFLAGS=-I/opt/local/include/ ./configure --with-modules="pipe gsqlite3 gmysql pdns" \
it ends in:
checking how to hardcode library paths into programs... immediate
checking for Boost headers version >= 103400... yes
checking for Boost's header version... BOOST_LIB_VERSION
configure: error: invalid value: boost_major_version=BOOSTLIB
I can't find 'BOOSTLIB' mentioned anywhere in /opt/local/include/boost or in the pdns source. My eyes are getting blurry from staring at the configure soup and in boost.m4. Any hints from someone more proficient in autoconf?
If I revert this commit:
then I get past this particular error; but get another syntax error from configure about BOOST_... (and if I in turn take those lines out; the Makefiles are just built without the appropriate stuff to link with boost).
More information about the Pdns-dev