Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CPAN appears to be broken

by walkingthecow (Friar)
on Jun 25, 2010 at 02:33 UTC ( #846443=note: print w/ replies, xml ) Need Help??


in reply to CPAN appears to be broken

Installed YAML via apt-get and still getting the same output (also trying to install with user cpan and user root, neither work):

$ perl -MCPAN -e shell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> install Net::SSH:Expect CPAN: Storable loaded ok (v2.20) Going to read '/usr/share/cpan/Metadata' Database was generated on Thu, 24 Jun 2010 16:27:07 GMT Running install for module 'Net::SSH::Expect' CPAN: YAML loaded ok (v0.71) Running make for B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz CPAN: LWP::UserAgent loaded ok (v5.834) CPAN: Time::HiRes loaded ok (v1.9719) Fetching with LWP: ftp://ftp.osuosl.org/pub/CPAN/authors/id/B/BN/BNEGRAO/Net-SSH-Expect +-1.09.tar.gz Can't chown '/usr/share/cpan/FTPstats.yml.8436' to nobody/cpan: Operat +ion not permitted CPAN: Digest::SHA loaded ok (v5.47) Fetching with LWP: ftp://ftp.osuosl.org/pub/CPAN/authors/id/B/BN/BNEGRAO/CHECKSUMS CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /usr/share/cpan/sources/authors/id/B/BN/BNEGRAO/Net-SSH-E +xpect-1.09.tar.gz ok Scanning cache /usr/share/cpan/build for sizes Use of uninitialized value $newdir in substitution (s///) at /usr/lib/ +perl/5.10/Cwd.pm line 330. Use of uninitialized value $newdir in chdir at /usr/lib/perl/5.10/Cwd. +pm line 338. Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/lib/ +perl/5.10/Cwd.pm line 338. Use of uninitialized value $newdir in pattern match (m//) at /usr/lib/ +perl/5.10/Cwd.pm line 353. Use of uninitialized value $newdir in split at /usr/lib/perl/5.10/Cwd. +pm line 359. ...................................................................... +......DONE CPAN: Archive::Tar loaded ok (v1.52) Net-SSH-Expect-1.09/ Net-SSH-Expect-1.09/lib/ Net-SSH-Expect-1.09/lib/Net/ Net-SSH-Expect-1.09/lib/Net/SSH/ Net-SSH-Expect-1.09/lib/Net/SSH/Expect.pod Net-SSH-Expect-1.09/lib/Net/SSH/Expect.pm Net-SSH-Expect-1.09/MANIFEST Net-SSH-Expect-1.09/META.yml Net-SSH-Expect-1.09/t/ Net-SSH-Expect-1.09/t/Net-SSH-Expect.t Net-SSH-Expect-1.09/Changes Net-SSH-Expect-1.09/README Net-SSH-Expect-1.09/Makefile.PL Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. Use of uninitialized value $_[0] in join or string at /usr/share/perl/ +5.10/File/Spec/Unix.pm line 41. Use of uninitialized value $path in pattern match (m//) at /usr/share/ +perl/5.10/File/Spec/Unix.pm line 121. CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] BNEGRAO/Net-SSH-Expect-1.09.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: BNEGRAO/Net-SSH-Expect-1.09.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL INSTALLDIRS=site' returned status -1


Comment on Re: CPAN appears to be broken
Download Code
Re^2: CPAN appears to be broken
by syphilis (Canon) on Jun 25, 2010 at 08:37 UTC
    /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK

    It might be useful to know just why that command is "NOT OK". Can you cd to the top level source directory of one of these modules that you're trying to build and run (as root) /usr/bin/perl Makefile.PL INSTALLDIRS=site

    What error does that produce ?

    Cheers,
    Rob
      Here is the output, and I don't think it's very helpful :(
      root@danielamaya:/usr/share/cpan/build/Net-SSH-0.09-HwGGVO# /usr/bin/p +erl Makefile.PL INSTALLDIRS=site Writing Makefile for Net::SSH root@danielamaya:/usr/share/cpan/build/Net-SSH-0.09-HwGGVO#
Re^2: CPAN appears to be broken
by rowdog (Curate) on Jun 25, 2010 at 21:52 UTC
    $ perl -MCPAN -e shell ... Can't chown '/usr/share/cpan/FTPstats.yml.8436' to nobody/cpan: Operat +ion not permitted

    You need to either run cpan as root or configure cpan to use sudo.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://846443]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-11-28 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls