perl CPAN shell CPAN.pm failure
Vizion
vizion at vizion.occoxmail.com
Tue Jan 2 04:07:08 PST 2007
I seem to have something wrong in my installation...:
------------------
[root at dns1 /usr/ports/lang]# perl -MCPAN -e shell
Can't locate Cwd.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .)
at /usr/local/lib/perl5/5.8.8/CPAN.pm line 13.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/CPAN.pm line
13.
Compilation failed in require.
BEGIN failed--compilation aborted.
[root at dns1 /usr/ports/lang]# perl -MCPAN -e shell
Can't locate Cwd.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .)
at /usr/local/lib/perl5/5.8.8/CPAN.pm line 13.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/CPAN.pm line
13.
Compilation failed in require.
BEGIN failed--compilation aborted.
[root at dns1 /usr/ports/lang]# locate Cwd.pm
/usr/cpan/build/PathTools-3.19/Cwd.pm
/usr/cpan/build/PathTools-3.19/blib/lib/Cwd.pm
/usr/local/lib/perl5/5.8.8/mach/Cwd.pm
/usr1/local/lib/perl5/5.8.7/mach/Cwd.pm
/usr1/local/lib/perl5/site_perl/5.8.7/mach/Cwd.pm
[root at dns1 /usr/ports/lang]# ls -l |grep perl
drwxr-xr-x 3 root wheel 512 Aug 17 01:14 eperl
drwxr-xr-x 2 root wheel 512 Dec 27 10:53 linux-libperl5.8
drwxr-xr-x 3 root wheel 512 Aug 17 09:58 perl5
drwxr-xr-x 3 root wheel 512 Jan 2 00:54 perl5.8
drwxr-xr-x 3 root wheel 512 Aug 17 01:14 ruby-perl
[root at dns1 /usr/ports/lang]# pkg_info |grep perl
bsdpan-Archive-Zip-1.16 Unknown perl module
bsdpan-CPAN-1.87 CPAN - query, download and build perl modules from CPAN
sit
bsdpan-Term-ReadLine-Perl-1.0302 Unknown perl module
bsdpan-TermReadKey-2.30 Term::ReadKey - A perl module for simple terminal
control
p5-DBI-1.53 The perl5 Database Interface. Required for DBD::* modules
p5-Storable-2.15 Persistency for perl data structures
perl-5.8.8 Practical Extraction and Report Language
tmake-1.7_2 Extremely portable perl-based make utility
[root at dns1 /usr/ports/lang]#
More information about the freebsd-questions
mailing list