[Pdns-users] Complie problem on PDNS on CENTOS5

Aki Tuomi cmouse at youzen.ext.b2.fi
Tue Feb 5 11:23:06 UTC 2013


You forgot to install boost development package? Also, you need to install pkg-config

Aki

On Tue, Feb 05, 2013 at 02:54:21AM -0800, RBK1001 wrote:
> 
> I have installed GCC4.6.2 and also with BOOST 1.39.0
> 
> however, I am failed when compliing PDNS 3.2, any idea?
> 
> 
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for ld used by g++... /usr/local/bin/ld -m elf_x86_64
> checking if the linker (/usr/local/bin/ld -m elf_x86_64) is GNU ld... yes
> checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/local/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for Boost headers version >= 103400... ../boost_1_39_0
> checking for Boost's header version... 1_39
> checking boost/foreach.hpp usability... yes
> checking boost/foreach.hpp presence... yes
> checking for boost/foreach.hpp... yes
> checking for the toolset name used by Boost for g++... gcc41 -gcc
> checking boost/program_options.hpp usability... yes
> checking boost/program_options.hpp presence... yes
> checking for boost/program_options.hpp... yes
> checking for the Boost program_options library... no
> configure: error: cannot not find the flags to link with Boost
> program_options
> 
> -- 
> View this message in context: http://old.nabble.com/Complie-problem-on-PDNS-on-CENTOS5-tp34984421p34984421.html
> Sent from the PowerDNS mailing list archive at Nabble.com.
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130205/a84ffdb2/attachment-0001.sig>


More information about the Pdns-users mailing list