Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 21:43:26 -0500 (CDT)
From:      Denny White <dennyboy@cableone.net>
To:        nawcom <nawcom@nawcom.no-ip.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cpan/bsdpan/ports need help - Checked by AntiVir -
Message-ID:  <20050811213550.D823@dualman.cableone.net>
In-Reply-To: <42FB6D4C.7080901@nawcom.no-ip.com>
References:  <20050811085433.B823@dualman.cableone.net> <42FB6D4C.7080901@nawcom.no-ip.com>

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

>
> 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
>> 
>> GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
>> Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
>> 
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"
>
>
>

Today nawcom had this to say:
> 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.

If you look above in the original message from me, you'll see
the list of ports that were installed when I overrode the setting
in pkgtools.conf, i.e., to not hold bsdpan stuff. That's what
hosed cpan for me. Now I'm stuck with that & no matter what I try
to do with cpan, I get the output that's listed above in the
original part of this message. There are some ports that won't
even install now, using portupgrade, due to this problem. I really
don't know where to go from here, unless maybe it's to cvsup RELENG_5
instead of just RELENG_5_4 & try rebuilding everything. 
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?20050811213550.D823>