[Pdns-users] CFLAGS= and configure

Leo Baltus Leo.Baltus at omroep.nl
Fri Nov 23 18:28:02 UTC 2012


I cant's seem to compile pdns-3.1 with botan without hacking my way through.

It first I tried 

PKG_CONFIG_PATH=/bar/Botan-1.10.3/lib/pkgconfig/ ./configure ... --enable-botan1.10

which did not seem to pick up the /bar/Botan-1.10.3/include//botan-1.10 directory

After that I tried CFLAGS CPPFLAGS CXXFLAGS to no avail.

Now it seems LUA_CFLAGS *is* picked up so 

LUA_CFLAGS="-I$botan/include/botan-1.10" ./configure ... --enable-botan1.10 

seems to work, but of course has nothing to do with lua.

Is CFLAGS etc. broken?

Somewhat related I tried to compile with lua, which I have installed in
/baz however configure --help indicates that --with-lua does not take an
arguments, but reading my way through configure I *think* that is does.
But when compiling:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/lua5.1 -pthread -D_GNU_SOURCE -Wall -O2 -MT luabackend.lo -MD -MP -MF .deps/luabackend.Tpo -c luabackend.cc  -fPIC -DPIC -o .libs/luabackend.o
In file included from luabackend.cc:18:
luabackend.hh:4:19: error: lua.hpp: No such file or directory

It seems /usr/include/lua5.1 is hardcoded in the Makefiles?

Totally unrelated, dnsbulktest does not compile with boost-1.34
dnsbulktest.cc:1:47: error: boost/accumulators/accumulators.hpp: No such file or directory

What is the currently recommended boost version?

Leo Baltus, internetbeheerder                         /\
NPO ICT Internet Services                            /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \  /\/
servicedesk at omroep.nl, 035-6773555                    \/

More information about the Pdns-users mailing list