Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails

PERL

    Next

  • 1. perl compilers
    Anyone know of any good perl compilers for windows. I have searched and found no good ones. robin
  • 2. Want to judge some remote hosts online or not quickly over WAN.
    Hi all, I want to judge some remote hosts online or not quickly over WAN. I've learned that ping command will not work in this case if the icmp ack is blocked locally by firewall. Is it possiable for me to do this job by perl codes? Best regards. -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
  • 3. Come on Perl, rescue me one more time!
    Hi, I'm using Perl 5.8.8 on Mac 10.5.6. I have a text file with the following content pattern ... (newline) line 1 line 2 line 3 (newline) line 1 line 2 line 3 line 4 line 5 (new line) line 1 line 2 What I would like to do is remove the first line immediately after any new line (carriage return) and keep all the other lines. How can I do this with perl? Thanks, - Dave

Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails

Postby carl d. » Thu, 12 May 2005 05:29:51 GMT

YI
Have problem Upgrading perl packages from CPAN.pm version v1.61 to version
v1.76) failed with final error messages:
<stuff snipped>
CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.33.tar.gz

Makefile:85: *** missing separator. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

**********

Cross posting to comp.lang.perl.modules

Full console session follows below:

**********
[root@vm1 root]# perl -MCPAN -e 'install Net::RSH'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 07 May 2005 19:57:17 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Sat, 07 May 2005 04:55:38 GMT

There's a new CPAN.pm version (v1.76) available!
[Current version is v1.61]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...

Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Warning: Cannot install Net::RSH, don't know what it is.
Try the command

i /Net::RSH/

to find objects with matching identifiers.

[root@vm1 root]# perl -MCPAN -e 'install Bundle::CPAN'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 07 May 2005 04:55:38 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/A/AN/ANDK/CHECKSUMS
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz ok
Scanning cache /root/.cpan/build for sizes
CPAN-1.76/
CPAN-1.76/lib/
CPAN-1.76/lib/CPAN.pm
CPAN-1.76/lib/CPAN/
CPAN-1.76/lib/CPAN/Admin.pm
CPAN-1.76/lib/CPAN/Nox.pm
CPAN-1.76/lib/CPAN/FirstTime.pm
CPAN-1.76/lib/Bundle/
CPAN-1.76/lib/Bundle/CPAN.pm
CPAN-1.76/t/
CPAN-1.76/t/loadme.t
CPAN-1.76/t/vcmp.t
CPAN-1.76/t/signature.t
CPAN-1.76/t/mirroredby.t
CPAN-1.76/t/Nox.t
CPAN-1.76/PAUSE2003.pub
CPAN-1.76/MANIFEST
CPAN-1.76/MANIFEST.SKIP
CPAN-1.76/scripts/
CPAN-1.76/scripts/cpan
CPAN-1.76/META.yml
CPAN-1.76/BUNDLE/
CPAN-1.76/BUNDLE/Test/
CPAN-1.76/BUNDLE/Test/Builder.pm
CPAN-1.76/BUNDLE/Test/More.pm
CPAN-1.76/Todo
CPAN-1.76/ChangeLog
CPAN-1.76/Changes.old
CPAN-1.76/Makefile.PL
CPAN-1.76/README
CPAN-1.76/SIGNATURE
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/G/GB/GBARR/Bundle-libnet-1.00.tar.gz
Checksum for
/root/.cpan/sources/authors/id/G/GB/GBARR/Bundle-libnet-1.00.tar.gz ok
Bundle-libnet-1.00/
Bundle-libnet-1.00/Makefile.PL
Bundle-libnet-1.00/libnet.pm
Bundle-libnet-1.00/README
Bundle-libnet-1.00/MANIFEST
Running install for module File::Spec
Running make for K/KW/KWILLIAMS/PathTools-3.07.tar.gz
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/K/KW/KWILLIAMS/PathTools-3.07.tar.gz
Fetching with LWP:
ftp://ftp.per

Re: Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails

Postby A. Sinan Unur » Thu, 12 May 2005 06:35:48 GMT

"carl d." < XXXX@XXXXX.COM > wrote in




How about a Google search?

 http://www.**--****.com/ +missing+separator

That usually means there is a missing TAB character in or around line 85 
in the make file.

Now, I cannot replicate this on FreeBSD or Cygwin, when installing this 
package by itself from Digest-MD5-2.33.tar.gz downloaded from cpan.org.

So you might want to try installing the module all by itself, and then, 
if the error persists, examine the generated Makefile on your system (a 
syntax highlighting editor such as vim will show you if a TAB is missing 
where it is required in a Makefile).

Sinan
-- 
A. Sinan Unur < XXXX@XXXXX.COM >
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
 http://www.**--****.com/ ~tadmc/clpmisc/clpmisc_guidelines.html

Similar Threads:

1.install Bundle::CPAN in Cygwin failed

Hi all,
I am using Perl 5.8.5 in Cygwin.  I tried to install packages from
cpan but failed. It gives the following eorrs when I installed
Bundle::CPAN

Running make install
Cannot forceunlink /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/auto/Cwd/Cwd.d
ll: Permission denied at /usr/lib/perl5/5.8.5/File/Find.pm line 906
make: *** [pure_perl_install] Error 255
  /usr/bin/make install  -- NOT OK
Running install for module Digest::MD5
Running make for G/GA/GAAS/Digest-MD5-2.33.tar.gz
Undefined subroutine &Digest::base::new called at
/usr/lib/perl5/5.8.5/CPAN.pm l
ine 4344.

I have no clue at all.  BTW, I am not an admin in this computer.

Thanks for any of your ideas.

Best,
seasea



Return to PERL

 

Who is online

Users browsing this forum: No registered users and 58 guest