This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cannot unlink DLL in CPAN Makefile

It seems that every CPAN modules that creates a .DLL cannot delete it
from the compile directory, even if everything builds OK (got this
problem in Compress::Zlib and Digest::MD5):

Looks Good.
Up/Downgrade complete.
Checking if your kit is complete...
Looks good
Writing Makefile for Compress::Zlib
/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 Zlib.xs >
Zlib.xsc && mv Zlib.xsc Zlib.c
Running Mkbootstrap for Compress::Zlib ()
gcc -c -I/usr/local/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing
-I/usr/local/include -DUSEIMPORTLIB -O2   -DVERSION=\"1.15\"
-DXS_VERSION=\"1.15\"  -I/u
sr/lib/perl5/5.6.1/cygwin-multi/CORE  Zlib.c
chmod 644
cp blib/lib/Compress/
AutoSplitting blib/lib/Compress/ (blib/lib/auto/Compress/Zlib)
cp blib/arch/auto/Compress/Zlib/
chmod 644 blib/arch/auto/Compress/Zlib/
rm -f blib/arch/auto/Compress/Zlib/Zlib.dll
LD_RUN_PATH="/usr/lib" ld2  -s -L/usr/local/lib Zlib.o  -o
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a -L/usr/local/lib
dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
--export-all-symbols --as as --output-def libZlib.def --output-lib
libZlib.a \
-s -L/usr/local/lib Zlib.o
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a -L/usr/local/lib
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
mv Zlib.dll libZlib.a blib/arch/auto/Compress/Zlib/
chmod 755 blib/arch/auto/Compress/Zlib/Zlib.dll
Manifying blib/man3/Compress.Zlib.3
  /usr/bin/make -j5 -- 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
All tests successful.
Files=2, Tests=179,  8 wallclock secs ( 2.32 cusr +  6.69 csys =  9.01
  /usr/bin/make test -- OK
Running make install
Cannot forceunlink
Permission denied at /usr/lib/perl5/5.6.1/cygwin-multi/File/Find.pmline

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

Lapo 'Raist' Luchini (PGP & X.509 keys available) (ICQ UIN: 529796)

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]