develooper Front page | perl.libwww | Postings from September 2001

problems with perl -MCPAN -e 'install Bundle::LWP' on cygwin

From:
Richard Burns
Date:
September 17, 2001 16:27
Subject:
problems with perl -MCPAN -e 'install Bundle::LWP' on cygwin
Message ID:
3BA6962D.98DC337D@transcanada.com
Hi,
I am running cygwin on an NT, and am encountering problems with
Digest-MD5  during the Bundle::LWP install as doc'd below.
Any / all guidance on what to do next is deeply appreciated.

The apparently critical step where things fall over is

     Cannot forceunlink
     /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Digest/MD5/MD5.dll:
     Permission denied at
     /usr/lib/perl5/5.6.1/cygwin-multi/File/Find.pm line 769
     Installing
     /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Digest/MD5/libMD5.a

     make: *** [pure_site_install] Error 255
       /usr/bin/make install  -- NOT OK


The full set of msgs for this install are below.

I am not subscribed to the list, so direct relies are appreciated.
...Richard

-------------------------------------------------
$ perl -MCPAN -e 'install Bundle::LWP'
Going to read
c:/cygwin/home/richard_burns/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read
c:/cygwin/home/richard_burns/.cpan/sources/modules/02packages.details.txt.gz

  Database was generated on Mon, 17 Sep 2001 12:01:20 GMT
CPAN: HTTP::Date loaded ok
Going to read
c:/cygwin/home/richard_burns/.cpan/sources/modules/03modlist.data.gz
URI is up to date.
Net::FTP is up to date.
MIME::Base64 is up to date.
Running install for module Digest::MD5
Running make for G/GA/GAAS/Digest-MD5-2.16.tar.gz
CPAN: MD5 loaded ok
Checksum for
c:/cygwin/home/richard_burns/.cpan/sources/authors/id/G/GA/GAAS/Digest-MD5-2.16.tar.gz
ok
Scanning cache c:/cygwin/home/richard_burns/.cpan/build for sizes
Digest-MD5-2.16/
Digest-MD5-2.16/rfc1321.txt
Digest-MD5-2.16/typemap
Digest-MD5-2.16/hints/
Digest-MD5-2.16/hints/irix_6.pl
Digest-MD5-2.16/hints/dec_osf.pl
Digest-MD5-2.16/MD5.pm
Digest-MD5-2.16/MANIFEST
Digest-MD5-2.16/t/
Digest-MD5-2.16/t/files.t
Digest-MD5-2.16/t/md5-aaa.t
Digest-MD5-2.16/t/badfile.t
Digest-MD5-2.16/Makefile.PL
Digest-MD5-2.16/Changes
Digest-MD5-2.16/README
Digest-MD5-2.16/MD5.xs
Removing previously used
c:/cygwin/home/richard_burns/.cpan/build/Digest-MD5-2.16

  CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.16.tar.gz

Testing alignment requirements for U32... no restrictions
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::MD5
cp MD5.pm blib/lib/Digest/MD5.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap MD5.xs > MD5.xsc
&& mv MD5.xsc MD5.c
gcc -c  -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include
-DUSEIMPORTLIB -O2   -DVERSION=\"2.16\" -DXS_VERSION=\"2.16\"
-I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  MD5.c
Running Mkbootstrap for Digest::MD5 ()
chmod 644 MD5.bs
rm -f blib/arch/auto/Digest/MD5/MD5.dll
LD_RUN_PATH="" ld2  -s -L/usr/local/lib MD5.o  -o
blib/arch/auto/Digest/MD5/MD5.dll
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a
dllwrap --dllname MD5.dll --driver-name gcc --dlltool dlltool
--export-all-symbols --as as --output-def libMD5.def --output-lib
libMD5.a \
-s -L/usr/local/lib MD5.o
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
mv MD5.dll libMD5.a blib/arch/auto/Digest/MD5/
chmod 755 blib/arch/auto/Digest/MD5/MD5.dll
cp MD5.bs blib/arch/auto/Digest/MD5/MD5.bs
chmod 644 blib/arch/auto/Digest/MD5/MD5.bs
Manifying blib/man3/Digest.MD5.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t

t/badfile...........ok
t/files.............ok
t/md5-aaa...........ok
All tests successful.
Files=3, Tests=263,  3 wallclock secs ( 1.36 cusr +  0.86 csys =  2.22
CPU)
  /usr/bin/make test -- OK
Running make install
Cannot forceunlink
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Digest/MD5/MD5.dll:
Permission denied at /usr/lib/perl5/5.6.1/cygwin-multi/File/Find.pm line
769
Installing
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Digest/MD5/libMD5.a
make: *** [pure_site_install] Error 255
  /usr/bin/make install  -- NOT OK
HTML::Tagset is up to date.
HTML::Parser is up to date.
HTML::HeadParser is up to date.
LWP is up to date.
Bundle summary: The following items in bundle Bundle::LWP had
installation
problems:
  Digest::MD5


$



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About