LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-23-2005, 08:37 PM   #1
Sparky.Watson
LQ Newbie
 
Registered: Aug 2005
Distribution: New to Fedora
Posts: 2

Rep: Reputation: 0
Unable to install Perl module via CPAN


Freshly installed Fedora box going through a proxy to get to the internet, I get the following trying to do "install Tk". Any help would be great!

# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install Tk
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.6/LWP/Protocol.pm line 55, <FIN> line 1.
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.6/LWP/Protocol.pm line 58, <FIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.6/LWP/Protocol.pm line 38, <FIN> line 1.
Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.6/LWP/UserAgent.pm line 195, <FIN> line 1.
LWP failed with code[501] message[Protocol scheme '' is not supported]
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz

Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.

Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 22) line 1.
at /usr/lib/perl5/5.8.6/CPAN.pm line 3406
CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /usr/lib/perl5/5.8.6/CPAN.pm line 3129
CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5.8.6/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x9b7c944)', 'CPAN::Module', 'Tk') called at /usr/lib/perl5/5.8.6/CPAN.pm line 1842
CPAN::Shell::expandany('CPAN::Shell', 'Tk') called at /usr/lib/perl5/5.8.6/CPAN.pm line 2078
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Tk') called at /usr/lib/perl5/5.8.6/CPAN.pm line 2165
CPAN::Shell::install('CPAN::Shell', 'Tk') called at /usr/lib/perl5/5.8.6/CPAN.pm line 201
eval {...} called at /usr/lib/perl5/5.8.6/CPAN.pm line 201
CPAN::shell() called at /usr/bin/cpan line 193

cpan>
 
Old 08-24-2005, 08:23 PM   #2
Sparky.Watson
LQ Newbie
 
Registered: Aug 2005
Distribution: New to Fedora
Posts: 2

Original Poster
Rep: Reputation: 0
Even a hint?
 
  


Reply


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
perl module Audio::MPEG CPAN install secesh Programming 6 08-12-2014 09:53 PM
Perl CPAN Problem murphy23 Slackware 4 01-24-2005 07:03 AM
perl module Audio::MPEG CPAN install secesh Linux - Software 0 09-17-2004 01:55 PM
perl modules problems CPAN tardigrade Linux - Software 6 09-02-2004 12:29 PM
perl CPAN LinFreak! Slackware 3 01-03-2004 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 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
Open Source Consulting | Domain Registration