[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] perl @INC



I installed the additional Perl after doing my first CPAN - at the end it
said something like try install bundle::perl or something similar. Did it -
took the defaults and ended up with a 5.6 perl as well.

now when I issue a perl command from the command line it is showing the @INC
with the new modules in rather that the ones for the original perl
ie
[admin@web web]$ perl verify_install.cgi
Checking for Digest::MD5... ERROR: Digest::MD5 not found:
Can't locate Digest/MD5.pm in @INC (@INC contains:
/home/sites/home/users/admin/opensrs-client-2.0.1/l
ib /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0
/usr/local/l
ib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0
/usr/lo
cal/lib/perl5/site_perl .) at (eval 1) line 3.

as you see it is pointing to /usr/local/lib/perl5 rather than
/usr/lib/perl5 - it is therefore missing a number of modules that are
properly installed in that /usr/lib/perl5

all(?) I need to do is to find out where the conf or ini is that defines the
path to perl and I can update that to point to the correct libs

NBow this is only a problem in command line. from a web page it finds the
correct perl lib. here is an extract of perldiver.cgi showing this:

Directory locations searched for perl executables
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
.

cheers

Jim Carey
www.OZbcoz.com
Premium Domain Services


-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Zeffie
Sent: Saturday, 8 July 2000 12:21 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] perl @INC


> now have 2 copies - original in /usr/lib/perl5 and the other -
> no good - in /usr/local/lib/perl5
>
> now my perl @INC paths are pointing to usr/local/lib/perl5 -  how can I
> change the @INC paths
> back to the proper, original, as distributed usr/lib/perl5 path - what do
I
> edit to do this ?

Hmmm...
Well how about some more info like...
How did you install the local ver?   (Source, Rpm, ?)
Where are you seeing these @INC paths or heard about them... (error
message?)
what kind of box is this?

Zeffie



_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users