[Pdns-users] compile problems
curtis at maurand.com
Fri Jul 22 13:34:28 UTC 2005
I sent this to kai yesterday, but I thought it would be helpful if the
entire list had the solution just in case. ---Curtis
Original Message Follows:
I've tried both ways. No joy. I'd rather see something like:
./configure ... --with-boost=/usr/include/boost-1_32
[root at canon include]# ls -ld boost
lrwxrwxrwx 1 root root 10 Jul 21 09:12 boost -> boost-1_32
That way we know.
I just got it to work as I was writing this. I ran the following:
CXX_FLAGS="-I /usr/include/boost-1_32" CPPFLAGS="-I
/usr/include/boost-1_32" ./configure --prefix=/usr
--localstatedir=/var/run --sysconfdir=/etc --with-mysql=/usr
--with-mysql-lib=/usr --with-mysql-includes=/usr --enable-pdns_server
I got only one warning:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Ibackends/bind -pthread -I
/usr/include/boost-1_32 -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\"
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -D_GNU_SOURCE -Wall -O2
-MT lwres.o -MD -MP -MF ".deps/lwres.Tpo" -c -o lwres.o lwres.cc; \
then mv -f ".deps/lwres.Tpo" ".deps/lwres.Po"; else rm -f
".deps/lwres.Tpo"; exit 1; fi
lwres.cc: In member function `int LWRes::asyncresolve(const
std::string&, const char*, int, bool)':
lwres.cc:125: warning: comparison between signed and unsigned integer
>On Thu, Jul 21, 2005 at 03:42:16PM +0200, Kai wrote:
>>On Thu, Jul 21, 2005 at 09:09:15AM -0400, Curtis Maurand wrote:
>>>I'm trying to compile on Fedora Core 3. Its mostly going OK, but I'm
>>>now hung up on a boost library. boost is installed in
>>>/usr/include/boost-1_32. I think I need to update ld.so.cache, but
>>>can't remember the command to do that. the shared_ptr.hpp exists.
>>>the error follows.
>>Try configuring pdns with
>>(bash)$ CXX_FLAGS="-I /usr/include/boost-1_32" ./configure --your-options
>>Then this should work.
>Hm. Maybe not. ln -s /usr/include/boost-1_32 /usr/include/boost would
>suffice, but you may not desire that? I don't know your motives to include
>the version in the directory name.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users