From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 12:07:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D3E6A16A403 for ; Tue, 2 Jan 2007 12:07:08 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 676F413C465 for ; Tue, 2 Jan 2007 12:07:07 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.61]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070102120703.LLNE60.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Tue, 2 Jan 2007 07:07:03 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Tue, 2 Jan 2007 4:07:03 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070102120703.LLNE60.dukecmmtao03.coxmail.com@dukecmmtao03> Subject: perl CPAN shell CPAN.pm failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 12:07:08 -0000 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]#