From owner-freebsd-questions Fri Sep 15 8:31:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from earth.plexmedia.net (earth.plexmedia.net [216.0.185.9]) by hub.freebsd.org (Postfix) with ESMTP id E4C2137B43C for ; Fri, 15 Sep 2000 08:31:19 -0700 (PDT) Received: from plexmedia.com (fox@andromeda.plexmedia.net [216.0.185.7] (may be forged)) by earth.plexmedia.net (8.10.1/8.9.1) with ESMTP id e8FFVI501808 for ; Fri, 15 Sep 2000 11:31:19 -0400 Message-ID: <39C2425F.15532808@plexmedia.com> Date: Fri, 15 Sep 2000 11:38:07 -0400 From: Benjamin Krueger Organization: Plexus InterActive X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Perl will not compile Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ...... `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 Systems Administrator / Software Engineer Plexus InterActive ----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message