[Asterisk-Users] res_perl - Compiling error

Tom Vile tom.vile at gmail.com
Sat Oct 15 15:59:11 MST 2005


Maybe you don't have libc6-dev installed?



On 10/15/05, Brent August Torrenga <brent.torrenga at torrenga.com> wrote:
>
> Having trouble running make on res_perl:
>
> [root at charlie res_perl]# make
> perl -MExtUtils::Embed -e xsinit
> gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/
> -I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk
> \"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=
> \"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"
> -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
> -I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE -c -o perlxsi.o
> perlxsi.c
> gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/
> -I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk
> \"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=
> \"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"
> -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
> -I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE -c -o res_perl.o
> res_perl.c
> gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/
> -I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk
> \"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=
> \"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"
> -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
> -I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE -c -o apihelp.o
> apihelp.c
> gcc -Wall -fPIC -DHAVE_AST_CUST_CONFIG -I/usr/src/asterisk-1.0.9/
> -I/usr/src/asterisk-1.0.9//include -I. -DAST_INSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk
> \"-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=
> \"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"
> -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
> -I/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE -c -o
> AstAPIBase.o AstAPIBase.c
> gcc -Wall -fPIC -shared -Xlinker -x -o res_perl.so perlxsi.o res_perl.o
> apihelp.o -Wl,-E
> -L/usr/local/lib
> /usr/local/lib/perl5/5.8.7/-linux-thread-multi/auto/DynaLoader/DynaLoader.a
> -L/usr/local/lib/perl5/5.8.7/-linux-thread-multi/CORE -lperl -lnsl -ldl -lm
> -lcrypt -lutil -lpthread -lc -lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
> AstAPIBase.o
> /usr/bin/ld: cannot find -lndbm
> collect2: ld returned 1 exit status
> make: *** [res_perl.so] Error 1
> [root at charlie res_perl]#
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>



--
Tom Vile
Baldwin Technology Solutions, Inc
Consulting - Web Design - VoIP Telephony
www.baldwintechsolutions.com <http://www.baldwintechsolutions.com>
Phone: 518-631-2855 x205
Fax: 518-631-2856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051015/4237239a/attachment.htm


More information about the asterisk-users mailing list