Re: F8: CPAN problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/27/2010 03:03 PM, Sam Sharpe wrote:
> 2010/1/27 Dan Thurman <dant@xxxxxxxxx>:
>   
>> Can't locate CPAN.pm in @INC (@INC contains:
>> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
>> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
>> /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
>> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/5.8.8 .).
>>     
> Is CPAN.pm actually in any of those paths?
>
> What perl version are you running (should be 5.8.8, but doesn't hurt to check)?
>
> If you can find CPAN.pm and it's not in @INC, you can force it by:
>
> export PERL5LIB=/path1/to/libs:/path2/to/libs
>
> But to be honest, I don't know what's causing your error - the fact
> it's now complaining about CPAN when it was complaining about
> MakeMaker before is slightly screwy.
>
> --
> Sam
>   
I finally fixed my problems, but thanks to your previous post that
gave me the idea indirectly, by hinting at: ExtUtils/MakeMaker.pm!

What I found was to do:

yum remove perl-ExtUtils*

...and reinstall 182 packages that were removed as dependencies
instead of trying to remove perl itself for which there were 2700+
dependencies.

Also, if one did:

yum whatdepends CPAN.pm

...and CPAN.pm is found in package: perl-CPAN

Apparently, doing 'perl -MCPAN -e shell' barfed and destroyed
or messed up the files in /usr/lib/perl5/5.8.8, or so it seems.

Now I will avoid doing perl -MCPAN -e shell so that I do not run into
the same problems again for whatever reasons - it was noted on some
Fedora sites that it is not a good idea to mix "perl -MCPAN -e shell"
community packages against that of yum provided packages.

...  Now, I can proceed to figure out how to complete my original intent:
to add maildir support to sendmail (as opposed to just installing and
using Postfix) as I want the sub-directory feature from which dovecot
IMAP gladly supports instead of using the mbox format, which is directory
1-level limited.

Kind regards,
Dan

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux