Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 09:27:16 -0500 (CDT)
From:      Denny White <dennyboy@cableone.net>
To:        freebsd-questions@freebsd.org
Subject:   cpan/bsdpan/ports need help
Message-ID:  <20050811085433.B823@dualman.cableone.net>

next in thread | raw e-mail | index | archive | help

I had read where it was better to use ports than cpan
modules. I had originally used cpan because of updating
the virus data files for f-prot, before I knew I could
do it with portupgrade. I got tired of seeing ports held
by user & had trouble trying to force some of them to
upgrade, so I took out the bsdpan portion from:
>From /usr/local/etc/pkgtools.conf
   HOLD_PKGS = [
     'bsdpan-*',
   ]
Now I can't do anything with cpan, including installing some
ports. Here's the output from cpan:

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm
in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 .) @ (eval 4) line 1.

Begin failed--compilation aborted at /usr/local/lib/perl5/5.87/BSDPAN/
ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.
Begin failed--compilation aborted at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.

Compilation failed in require at /usr/local/bin/cpan line 119.
Begin failed--compilation aborted at /usr/local/bin/cpan line 119.

Below are the ports that got upgraded when this whole fiasco
started, due to my ignorance about perl, cpan, and ports and
their interdependencies:

total 10994
drwxr-xr-x    9 root  wheel       512 Aug 11 08:19 ..
-rw-r--r--    1 root  wheel  10726400 Aug 11 02:07 pkgdb.db
drwxr-xr-x  246 root  wheel      7168 Aug 11 02:07 .
drwxr-xr-x    2 root  wheel       512 Aug 11 02:04 p5-Time-HiRes-1.72,1
drwxr-xr-x    2 root  wheel       512 Aug 11 02:03 p5-CGI.pm-3.10_1,1
drwxr-xr-x    2 root  wheel       512 Aug 11 02:02 txt2html-2.41
drwxr-xr-x    2 root  wheel       512 Aug 11 02:02 p5-PathTools-3.09
drwxr-xr-x    2 root  wheel       512 Aug 11 02:02 p5-ExtUtils-CBuilder-0.12
drwxr-xr-x    2 root  wheel       512 Aug 11 02:02 p5-ExtUtils-ParseXS-2.07
drwxr-xr-x    2 root  wheel       512 Aug 11 02:02 p5-Module-Build-0.26.11
drwxr-xr-x    2 root  wheel       512 Aug 11 02:02 p5-Archive-Tar-1.23_1
drwxr-xr-x    2 root  wheel       512 Aug 11 00:57 bsdpan-Test-Pod-1.20
drwxr-xr-x    2 root  wheel       512 Aug 11 00:57 bsdpan-Test-Builder-Tester-1.01
drwxr-xr-x    2 root  wheel       512 Aug 11 00:57 bsdpan-Storable-2.15
drwxr-xr-x    2 root  wheel       512 Aug 11 00:57 bsdpan-Pod-Simple-3.02
drwxr-xr-x    2 root  wheel       512 Aug 11 00:57 bsdpan-Pod-Escapes-1.04
drwxr-xr-x    2 root  wheel       512 Aug 11 00:57 bsdpan-MD5-2.03

Any help greatly appreciated on how to fix this.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050811085433.B823>