Date: Tue, 2 Jan 2007 4:07:03 -0800 From: Vizion <vizion@vizion.occoxmail.com> To: <freebsd-questions@freebsd.org> Subject: perl CPAN shell CPAN.pm failure Message-ID: <20070102120703.LLNE60.dukecmmtao03.coxmail.com@dukecmmtao03>
next in thread | raw e-mail | index | archive | help
I seem to have something wrong in my installation...: ------------------ [root@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@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@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@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@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@dns1 /usr/ports/lang]#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070102120703.LLNE60.dukecmmtao03.coxmail.com>