Ben Coughlan Ben Coughlan - 2 years ago 115
Linux Question

Can't locate File/ in @INC (@INC contains:

I'm having trouble with the following.

Can't locate File/ in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .)

If I list the flowing the file is actually there :

ls /pkg/qct/software/perl/q4_06/.lib/site_perl/5.8.8/CPANPLUS/Shell/Default/Plugins HOWTO.pod

I'm really stuck here, this script was running on Solaris, to cut down on licenses I've converted 100+ sites to centos, and this script is required to run on a few, but I can't quite get over this step with google alone.

Answer Source is there but File/ is not.

Either it isn't the right file, or you need to create the File directory and move it inside.

ikegami's comment, which looks to be correct, makes this the former. It is the wrong

You need to install the correct module properly (e.g. with cpan minus).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download