From owner-freebsd-stable Tue Feb 5 8:22:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from plab.ku.dk (plab.ku.dk [130.225.105.65]) by hub.freebsd.org (Postfix) with ESMTP id 773C837B423 for ; Tue, 5 Feb 2002 08:22:42 -0800 (PST) Received: (from root@localhost) by plab.ku.dk (8.11.6/8.9.3) id g15GMfd05495 for freebsd-stable@freebsd.org.AVP; Tue, 5 Feb 2002 17:22:41 +0100 (CET) (envelope-from dmitry@karasik.eu.org) Received: from karasik.eu.org (raven.plab.ku.dk [130.225.105.67]) by plab.ku.dk (8.11.3/8.9.3) with ESMTP id g15GMfW05487 for ; Tue, 5 Feb 2002 17:22:41 +0100 (CET) (envelope-from dmitry@karasik.eu.org) Message-ID: <3C600694.C0DBE95C@karasik.eu.org> Date: Tue, 05 Feb 2002 17:21:40 +0100 From: Dmitry Karasik Organization: The Protein laboratory X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: perl paths corrupted Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After cvsupping from 4.3-STABLE to 4.5-STABLE, successfull make buildworld, installworld, etc etc, the following glitch with perl installaltion paths was found: $ perl -Mstrict -e 1 Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/i386-freebsd /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .). BEGIN failed--compilation aborted. I am aware that the default @INC is stored in /usr/lib/libperl*, and tried to recompile perl with the correct path. Firstly, I was tangled in these; secondly, it didn't build successfully: Making B (dynamic) cc -o ../../lib/auto/B/B.so -Bshareable -L/usr/local/lib B.o B.o: In function `cc_opclass': B.o(.text+0x5e): undefined reference to `Perl_opargs' B.o(.text+0x1d1): undefined reference to `Perl_op_name' *** Error code 1 After lost of hacks, the perl was build, but was unusable, not at least because the default paths were wrong again. I am seeking help, on how would I either setup perl paths correctly, or compile perl without excessive hacking, with the default @INC correctly set? -- Sincerely, Dmitry --- www.karasik.eu.org --- Life ain't fair, but the root password helps. - BOFH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message