Thanks Andrew, lots of appreciations. I think I was missing gcc-c++ package. Now I'm a bit closer to making previously mentioned tools.
When I run 'make dnsreplay dnswasher dnsscope' I end up with this cryptic errors referring to /usr/include/arpa make dnsreplay dnswasher dnsscope if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Ibackends/bind -pthread -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -pthread -D_GNU_SOURCE -I/usr/include/boost -Wall -O2 -MT dnsreplay.o -MD -MP -MF ".deps/dnsreplay.Tpo" -c -o dnsreplay.o dnsreplay.cc; \ then mv -f ".deps/dnsreplay.Tpo" ".deps/dnsreplay.Po"; else rm -f ".deps/dnsreplay.Tpo"; exit 1; fi In file included from dnsreplay.cc:29: /usr/include/arpa/nameser.h:252: error: conflicting declaration 'ns_t_invalid' dns.hh:119: error: 'ns_t_invalid' has a previous declaration as `<anonymous enum> ns_t_invalid' /usr/include/arpa/nameser.h:252: error: declaration of `ns_t_invalid' What is missing this time. Eugene -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Turnbull Sent: Tuesday, January 29, 2008 1:20 PM To: [email protected] Subject: Re: [Pdns-users] Tools to analyse DNS traffic sorry, here is the rest of it again for Centos. wget http://downloads.powerdns.com/releases/pdns-2.9.21.tar.gz tar zxf pdns-2.9.21.tar.gz CFLAGS="-mcpu=`uname -i` -march=`uname -i` -O3 -pipe -fomit-frame-pointer -mno-tls-di rect-seg-refs" CXXFLAGS=-I/usr/local/include/boost-1_33_1 ./configure --with-modules="gmysql" --enab le-pdns_server CXXFLAGS=-I/usr/local/include/boost-1_34_1 ./configure --with-modules="gmysql" --enab le-pdns_server ## 64 bit CXXFLAGS=-I/usr/local/include/boost-1_33_1 ./configure --with-modules="gmysql" --enab le-pdns_server --with-mysql-lib=/usr/lib64/mysql Thanks On 29/01/2008, Andrew Turnbull <[EMAIL PROTECTED]> wrote: > Hi > > This is what I use on Centos Based servers > > yum install gcc gcc-c++* ncurse* zlib* bison flex expect libjpeg* > libpng* gdbm* httpd > * net-snmp mysql* > > wget http://heanet.dl.sourceforge.net/sourceforge/boost/boost_1_33_1.tar.gz > tar zxf boost_1_33_1.tar.gz > cd /root/boost_1_33_1/tools/build/jam_src > ./build.sh > cp /root/boost_1_33_1/tools/build/jam_src/bin.linuxx86/bjam /usr/bin > cd /root/boost_1_33_1 > bjam "-sTOOLS=gcc" install > > > wget http://heanet.dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz > tar zxf boost_1_34_1.tar.gz > cd /root/boost_1_34_1/tools/jam/src > ./build.sh > cp /root/boost_1_34_1/tools/jam/src/bin.linuxx86/bjam /usr/bin > cd /root/boost_1_34_1 > bjam "-sTOOLS=gcc" install > > or > > bjam "--toolset=gcc" install > > On FreeBSD, i just use the ports and it installs just fine. > > Thanks > > On 29/01/2008, Eugene Pefti <[EMAIL PROTECTED]> wrote: > > Thanks Augie for an advice. > > They are both installed: > > > > #rpm -qa | grep -i boost > > boost-devel-1.32.0-6.rhel4 > > boost-1.32.0-6.rhel4 > > > > If I look into config.log I see that config script was run with the > > following options: > > > > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > > --infodir=/usr/share/info --enab > > le-shared --enable-threads=posix --disable-checking --with-system-zlib > > --enable-__cxa_atexit --disab > > le-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux > > > > Should I see or use any options referring to boost package or module? > > > > Secondly, what bothers me is that I don't see that CXXFLAGS variable was not > > set to /usr/include/boost but it is set to > > CXXFLAGS=' -Wall -O2' (taken from config.log) > > Even though checking global system variables (running "set" command) shows > > that CXXFLAGS is set to /usr/include/boost > > > > CXXFLAGS=-I/usr/include/boost/ > > > > Where's my problem hiding, friends? > > > > Eugene > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Augie Schwer > > Sent: Tuesday, January 29, 2008 8:00 AM > > To: Pdns-users > > Subject: Re: [Pdns-users] Tools to analyse DNS traffic > > > > On Jan 28, 2008 2:48 PM, Eugene Pefti <[EMAIL PROTECTED]> wrote: > > > Thanks a lot for coming back. Listen, every time I run configure script I > > > end up with the message saying that I miss Boost packages no matter where > > I > > > run the script (I am testing it on Linux CentOS4.5 and FreeBSD 6.2). I > > have > > > boost package installed on both machines. And I even copied boost folder > > > from /usr/include to pdns current directory and tried to tell configure > > > script where the boost folder assigning CXXFLAGS to $ > > > CXXFLAGS=-I/pdns_folder/boost > > > Where am I wrong? > > > > Try installing the boost-devel package out of CentOS; I'm pretty sure > > that worked for me in the past. > > > > > > -- > > Augie Schwer - [EMAIL PROTECTED] - http://schwer.us > > Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072 > > _______________________________________________ > > Pdns-users mailing list > > [email protected] > > http://mailman.powerdns.com/mailman/listinfo/pdns-users > > > > _______________________________________________ > > Pdns-users mailing list > > [email protected] > > http://mailman.powerdns.com/mailman/listinfo/pdns-users > > > _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
