Date: Fri, 15 Sep 2000 11:38:07 -0400 From: Benjamin Krueger <bkrueger@plexmedia.com> To: questions@freebsd.org Subject: Perl will not compile Message-ID: <39C2425F.15532808@plexmedia.com>
next in thread | raw e-mail | index | archive | help
Running FreeBSD mars.x.net 4.0-RELEASE FreeBSD 4.0-RELEASE #4: Sat Aug 26 10:23:42 EDT 2000 root@mars.x.net:/usr/src/sys/compile/MARS i386 I've just recently inherited this machine from another system administrator, and am having a plethora of troubles with getting perl to run properly. The former admin had installed perl 5.6 from source. Unfortunatly, Perl 5.6 segfaults whenever a call is made to the DBI module. After many fruitless attempts to fix this, I decided I should just roll the perl version back to base. Unfortunatly, perl refuses to compile now. Trying to install from /usr/src/contrib/perl5 leaves me with the following during 'make': root@mars:/usr/src/contrib/perl5# ./Configure -d && make && make install ...<snip>... `sh cflags libperl.a dump.o` dump.c CCCMD = cc -DPERL_CORE -c -I/usr/local/include -O `sh cflags libperl.a util.o` util.c CCCMD = cc -DPERL_CORE -c -I/usr/local/include -O util.c: In function `vsprintf': util.c:1634: structure has no member named `_ptr' util.c:1635: structure has no member named `_cnt' util.c:1639: structure has no member named `_flag' util.c:1639: `_IOWRT' undeclared (first use in this function) util.c:1639: (Each undeclared identifier is reported only once util.c:1639: for each function it appears in.) *** Error code 1 Stop in /usr/src/contrib/perl5. root@mars:/usr/src/contrib/perl5# Installing from /usr/src/gnu/usr.bin/perl fares no better: root@mars:/usr/src/gnu/usr.bin/perl# make all install ===> libperl make: don't know how to make /usr/obj/usr/src/gnu/usr.bin/perl/libperl/config.h. Stop *** Error code 2 Stop in /usr/src/gnu/usr.bin/perl. root@mars:/usr/src/gnu/usr.bin/perl# I am on my last leg here. I *need* a perl version that doesn't segfault every time you try to make DBI calls. Hordes of angry customers will tear my skin off otherwise ;) -- ----------------------------------------- Benjamin Krueger <bkrueger@plexmedia.com> Systems Administrator / Software Engineer Plexus InterActive <www.plexmedia.com> ----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C2425F.15532808>