F8: CPAN problem

Dan Thurman dant at cdkkt.com
Mon Jan 25 18:13:07 UTC 2010


To make a long story short, I was trying to get procmail support added to my
sendmail base in order to get maildir (instead of mbox), and in one of the
instructions on the website it said to install CPAN as follows:

# perl -MCPAN -e shell

Well, I did go through this and it all seemed to work fine,
except in various places where there was NOT OK reported
during the building of certain modules.

I was told to do this as root user, and noticed that it built
/root/.cpan and /root/perl and it probably added stuff to the
/usr/lib/perl paths but I am not certain of that.

Since I was not able to complete this CPAN process, I blew
away the above two directories in /root, restarted the process
and then I got this:

# perl -MCPAN -e shell
Can't locate ExtUtils/MakeMaker.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 .) at /usr/lib/perl5/5.8.8/CPAN.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/CPAN.pm line 16.
Compilation failed in require.
BEGIN failed--compilation aborted.

On reboot, I got reports in various services being started up and
it appears to display the same information as above.

What can I do to remove or clean up this mess?

It was not until later I discovered perhaps it was not
wise to mix the CPAN method with the CPAN rpms,
but I guess it is a bit too late now.

Kind regards,
Dan



More information about the users mailing list