Re: Re-running CPAN setup

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



Erick Perez wrote:
Excellent!!! thanks it worked.

Now how do I make sure my centos 4.4 "sees" some modules that were
added from CPAN?

Hello again, Erick, and well met.  :)

If you install modules using CPAN it places them into your include path.
If you're installing modules by hand...that's when things get tricky.

You can print out your Perl include path by typing:

perl -e "print qq(@INC)"

Usually (keyword usually) when you install a perl module with
"perl Makefile.pl ; make ; make install", it installs into one of the common perl include directories. Sometimes, though, the world doesn't smile on you.

You can copy a hand-installed module into one of your include directories, or you can place it in a private directory and use it by
typing in your script:


#!/usr/bin/perl

use lib '/path/to/module';


------
Here's a good link for you:

http://search.cpan.org/src/CMUNGALL/go-perl-0.04/INSTALL.html


Now...a couple fingers of whiskey are calling my name.  ;)


Regards,

Winter

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux