<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I sent this to kai yesterday, but I thought it would be helpful if the
entire list had the solution just in case. ---Curtis<br>
<br>
Original Message Follows:<br>
<br>
I've tried both ways. No joy. I'd rather see something like:<br>
<br>
./configure ... --with-boost=/usr/include/boost-1_32<br>
<br>
[root@canon include]# ls -ld boost<br>
lrwxrwxrwx 1 root root 10 Jul 21 09:12 boost -> boost-1_32<br>
<br>
That way we know.<br>
<br>
I just got it to work as I was writing this. I ran the following:<br>
<br>
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
--enable-recursor<br>
<br>
I got only one warning:<br>
<br>
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; \<br>
then mv -f ".deps/lwres.Tpo" ".deps/lwres.Po"; else rm -f
".deps/lwres.Tpo"; exit 1; fi<br>
lwres.cc: In member function `int LWRes::asyncresolve(const
std::string&, const char*, int, bool)':<br>
lwres.cc:125: warning: comparison between signed and unsigned integer
expressions<br>
<br>
<br>
Curtis<br>
<br>
<br>
<br>
Kai wrote:
<blockquote cite="mid20050721135413.GF65225@xs4all.nl" type="cite">
<pre wrap="">On Thu, Jul 21, 2005 at 03:42:16PM +0200, Kai wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Thu, Jul 21, 2005 at 09:09:15AM -0400, Curtis Maurand wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
Curtis
</pre>
</blockquote>
<pre wrap="">Hi Curtis,
Try configuring pdns with
(bash)$ CXX_FLAGS="-I /usr/include/boost-1_32" ./configure --your-options
Then this should work.
</pre>
</blockquote>
<pre wrap=""><!---->
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.
Kai
</pre>
</blockquote>
</body>
</html>