T
The King of Pots and Pans
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I had RH7.2 with Perl 5.6 on my machine. I learned a little about CPAN
a long time ago and remember using it to get modules at one time. I
haven't used it in a long, long, long while.
Since then I have upgraded to RH9, which apparently has Perl 5.8. I
wanted to get the DB_File module the other day and typed "cpan" at my
linux prompt, not remember how exactly to invoke it or how it works.
I get the following error:
[steve@sol 5.8.0]$ cpan
Can't locate CPAN.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
at /usr/bin/cpan line 6.
BEGIN failed--compilation aborted at /usr/bin/cpan line 6.
I did a locate on CPAN.pm and got the following:
[steve@sol steve]$ locate CPAN.pm
/var/www/html/perlpods/CPAN.pm.html
/usr/lib/perl5/5.6.0/Bundle/CPAN.pm
/usr/lib/perl5/5.8.0/CPAN.pm.links
/usr/local/lib/perl5/5.6.1/CPAN.pm
[steve@sol steve]$
I am unsure of how to proceed. I went to the cpan website and tried
finding information on how to install cpan, or get it working... but
was unable to find anything to address this issue.
Anyone have any idea what might be going on and what course of action
I should take to get cpan working with 5.8?
I am thinking it probably isn't a good idea just to copy the 5.6 cpan
module into the 5.8 directory and try to use it?
- --
The King of Pots and Pans
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFAhMy3d/wbFEGfmloRAiv9AJ9xuSmaN6hJGrpP0mp5vhBf9Mh0dACeI0qn
wxTWHoJqWaOq6iGku+UBKus=
=/j4o
-----END PGP SIGNATURE-----
Hash: SHA1
I had RH7.2 with Perl 5.6 on my machine. I learned a little about CPAN
a long time ago and remember using it to get modules at one time. I
haven't used it in a long, long, long while.
Since then I have upgraded to RH9, which apparently has Perl 5.8. I
wanted to get the DB_File module the other day and typed "cpan" at my
linux prompt, not remember how exactly to invoke it or how it works.
I get the following error:
[steve@sol 5.8.0]$ cpan
Can't locate CPAN.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
at /usr/bin/cpan line 6.
BEGIN failed--compilation aborted at /usr/bin/cpan line 6.
I did a locate on CPAN.pm and got the following:
[steve@sol steve]$ locate CPAN.pm
/var/www/html/perlpods/CPAN.pm.html
/usr/lib/perl5/5.6.0/Bundle/CPAN.pm
/usr/lib/perl5/5.8.0/CPAN.pm.links
/usr/local/lib/perl5/5.6.1/CPAN.pm
[steve@sol steve]$
I am unsure of how to proceed. I went to the cpan website and tried
finding information on how to install cpan, or get it working... but
was unable to find anything to address this issue.
Anyone have any idea what might be going on and what course of action
I should take to get cpan working with 5.8?
I am thinking it probably isn't a good idea just to copy the 5.6 cpan
module into the 5.8 directory and try to use it?
- --
The King of Pots and Pans
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFAhMy3d/wbFEGfmloRAiv9AJ9xuSmaN6hJGrpP0mp5vhBf9Mh0dACeI0qn
wxTWHoJqWaOq6iGku+UBKus=
=/j4o
-----END PGP SIGNATURE-----