Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 07:51:57 +0200
From:      Mathieu Arnold <mat@mat.cc>
To:        jason-dusek@uiowa.edu, PerlBSD <freebsd-perl@freebsd.org>
Subject:   Re: Old Perl - New @INC
Message-ID:  <4892CBBC47157898828F0932@pouet.in.mat.cc>
In-Reply-To: <1084826250.42049.5.camel@violet.physics.uiowa.edu>
References:  <1084826250.42049.5.camel@violet.physics.uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
+-Le 17/05/2004 15:37 -0500, Jason Dusek a dit :
| Hi Everyone,
| 
| I have installed over the 'system perl' a couple of times - once for
| 5.6.1 and once for 5.8.2. Now none of my modules work:
| 
|   7 jsn > tryme.pl
|   Can't locate Date/Calc.pm in @INC
|   (@INC contains:
|   /usr/local/lib/perl5/site_perl/5.8.2/mach
|   /usr/local/lib/perl5/site_perl/5.8.2
|   /usr/local/lib/perl5/site_perl/5.6.1
|   /usr/local/lib/perl5/site_perl/5.005
|   /usr/local/lib/perl5/site_perl
|   /usr/local/lib/perl5/5.8.2/BSDPAN
|   /usr/local/lib/perl5/5.8.2/mach
|   /usr/local/lib/perl5/5.8.2 .)
|   at /home/jsn/sbin/tryme.pl line 12.
|   BEGIN failed--compilation aborted at /home/jsn/sbin/tryme.pl line 12.
| 
| So I ran '# use.perl system' to no effect - I get the exact same error
| message. What do I do to get my old @INC back?

Some module will work, the pure perl ones, some won't, the xs ones (say the
ones written in C). Date::Calc is in the second category, the xs ones,
you'll have to deinstall it and reinstall it with the perl you use.

-- 
Mathieu Arnold



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