Help Needed on cpan-perl-portupgrade

Denny White dennyboy at cableone.net
Sat Aug 13 15:01:48 GMT 2005


Message originally "cpan/bsdpan/ports need help".
Really need help here. I really botched up perl
& cpan & can no longer do some portugrading, either,
that I need. Pasting the original message with threads
in below here. Hate to reinstall system, since all
other is working okay.
Original thread here:


> Denny White wrote:

>
> 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
>

> the bsdpan-PathTools is how the ports are named when not building from 
> the ports collection (from what i understand). my only solution (and it 
> shouldn't take too much time) is to deinstall it and build from ports.


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



More information about the freebsd-questions mailing list