LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2010, 03:59 AM   #1
linuxnuub
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Unhappy Problems locating CPAN.pm Fedora 10


hey, I have been trying to install some perl modules from CPAN but I am still stuck(todays my day 2). Maybe my CPAN module isnt working or whatever I said is so wrong. please give me some advice on this.I am so lost and I am a SUPER LINUX NOOB!

[PROBLEM]
this is my recent error report when i typed (trying to install catalyst manual):
Code:
perl Makefile.PL
output :
Code:
Subroutine author_requires redefined at inc/Module/Install/AuthorRequires.pm line 14.
Cannot determine perl version info from ./lib/Catalyst/Manual.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
Can't locate CPAN.pm in @INC (@INC contains: inc /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl .) at inc/Module/AutoInstall.pm line 277.
And when I type
Code:
perl -MCPAN -e shell
output :
Code:
Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
I have searched CPAN location in my computer using locate command but got none. do i have to reinstall perl? Please give me some idea on it.
 
Old 04-05-2010, 04:43 AM   #2
ganiutomo
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Rep: Reputation: 2
you can find CPAN.pm at /usr/share/perl/5.10.0/
 
Old 04-05-2010, 07:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Getting the "real" CPAN.pm :

# yum install perl-CPAN

.. provides /usr/lib/perl5/5.10.0/CPAN.pm

.....
 
  


Reply

Tags
cpan, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audacity problems locating libmp3lame.so for it lumix Linux - Software 1 03-14-2007 10:26 AM
Trouble locating slave drive on Fedora Core 3 Markness Linux - Hardware 6 04-11-2006 03:33 PM
cPan install problems tobycatlin Linux - Software 13 05-23-2005 02:08 PM
perl modules problems CPAN tardigrade Linux - Software 6 09-02-2004 01:29 PM
Slackware 10 and cpan template problems strangelite Slackware 3 07-05-2004 09:30 AM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration