[Asterisk-Users] Re: res_perl - Compiling error

Brent August Torrenga brent.torrenga at torrenga.com
Sun Oct 16 11:32:41 MST 2005


Jeez I feel dumb, I admit I am outta my league whenever I need to
compile something and get "cryptic" errors - cryptic to me, I mean... so
I am reaching out:

Is libc6-dev the rpm glibc-static-devel-2.3.4-8mdk? That would have been
my guess, as nothing else obvious comes out of a google search of
libc6-dev.

Anywho, if glibc-static-devel-2.3.4-8mdk is the rpm I would need, then
no, it makes no difference to have it installed and then do a make
clean;make, I get the same result. Is there any other way to tell what
is wrong, other than to look at the below output? Something I should do
other than simply "make; ./cross_fingers_hope"?

--Brent


Date: Sat, 15 Oct 2005 18:59:11 -0400
From: Tom Vile <tom.vile at gmail.com>
Subject: Re: [Asterisk-Users] res_perl - Compiling error
To: Asterisk Users Mailing List - Non-Commercial Discussion
        <asterisk-users at lists.digium.com>
Message-ID:
        <e2a5da790510151559r358fff26ldae40135d416b30b at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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-0001.htm




More information about the asterisk-users mailing list