Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2002 17:21:40 +0100
From:      Dmitry Karasik <dmitry@karasik.eu.org>
To:        freebsd-stable@freebsd.org
Subject:   perl paths corrupted
Message-ID:  <3C600694.C0DBE95C@karasik.eu.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C600694.C0DBE95C>