[Pdns-users] Complie problem on PDNS on CENTOS5

Aki Tuomi cmouse at youzen.ext.b2.fi
Wed Feb 6 07:33:06 UTC 2013


http://pkgs.org/centos-5-rhel-5/atomic-i386/lua-devel-5.1.4-1.el5.art.i386.rpm.html
http://pkgs.org/centos-6-rhel-6/centos-rhel-x86_64/lua-devel-5.1.4-4.1.el6.x86_64.rpm.html

the package is called lua-devel... 

Aki

On Tue, Feb 05, 2013 at 11:25:35PM -0800, RBK1001 wrote:
> 
> Failed.
> 
> is there anyone tried to complie PDNS3.2 before? and able to pass the LUA
> portion?
> 
> - rbk
> 
> 
> 
> RBK1001 wrote:
> > 
> > I found this. 
> > 
> > http://rpm.pbone.net/index.php3/stat/4/idpl/17868179/dir/redhat_el_5/com/lua-lib-5.1.5-1.el5.pp.x86_64.rpm.html
> > 
> > I am going to try now
> > 
> > 
> > RBK1001 wrote:
> >> 
> >> liblua is not valid for redhat or centos
> >> 
> >> 
> >> Aki Tuomi wrote:
> >>> 
> >>> You need to install liblua5.1-dev.
> >>> 
> >>> Aki
> >>> 
> >>> On Tue, Feb 05, 2013 at 10:55:54PM -0800, RBK1001 wrote:
> >>>> 
> >>>> Hi, I am able to settle the Boost program_options. However, I am faced
> >>>> the
> >>>> next problem on LUA.
> >>>> 
> >>>> 
> >>>> lua-auth.cc:(.text+0xe95): undefined reference to `lua_pcall'
> >>>> lua-auth.cc:(.text+0xebb): undefined reference to `lua_tolstring'
> >>>> lua-auth.cc:(.text+0xf8f): undefined reference to `lua_settop'
> >>>> lua-auth.cc:(.text+0xfd4): undefined reference to `lua_toboolean'
> >>>> lua-auth.cc:(.text+0xff0): undefined reference to `lua_settop'
> >>>> collect2: ld returned 1 exit status
> >>>> make[4]: *** [pdns_server] Error 1
> >>>> make[4]: Leaving directory `/root/pdns-3.2/pdns'
> >>>> make[3]: *** [all-recursive] Error 1
> >>>> make[3]: Leaving directory `/root/pdns-3.2/pdns'
> >>>> make[2]: *** [all] Error 2
> >>>> make[2]: Leaving directory `/root/pdns-3.2/pdns'
> >>>> make[1]: *** [all-recursive] Error 1
> >>>> make[1]: Leaving directory `/root/pdns-3.2'
> >>>> make: *** [all] Error 2
> >>>> 
> >>>> can anyone help?
> >>>> 
> >>>> - rbk
> >>>> 
> >>>> 
> >>>> RBK1001 wrote:
> >>>> > 
> >>>> > Hi
> >>>> > 
> >>>> > 
> >>>> > I really need instruction on how to complie PowerDNS 3.2 in CENTOS5
> >>>> > 
> >>>> > please help
> >>>> > 
> >>>> > -rbk
> >>>> > 
> >>>> > 
> >>>> > Aki Tuomi wrote:
> >>>> >> 
> >>>> >> 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
> >>>> >>> 
> >>>> >> 
> >>>> >>  
> >>>> >> _______________________________________________
> >>>> >> Pdns-users mailing list
> >>>> >> Pdns-users at mailman.powerdns.com
> >>>> >> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >>>> >> 
> >>>> >> 
> >>>> > 
> >>>> > 
> >>>> 
> >>>> -- 
> >>>> View this message in context:
> >>>> http://old.nabble.com/Complie-problem-on-PDNS-on-CENTOS5-tp34984421p34988331.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
> >>>> 
> >>> 
> >>>  
> >>> _______________________________________________
> >>> Pdns-users mailing list
> >>> Pdns-users at mailman.powerdns.com
> >>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >>> 
> >>> 
> >> 
> >> 
> > 
> 
> -- 
> View this message in context: http://old.nabble.com/Complie-problem-on-PDNS-on-CENTOS5-tp34984421p34988383.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/20130206/f7f4ab57/attachment-0001.sig>


More information about the Pdns-users mailing list