This is the mail archive of the cygwin@cygwin.com 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):

Parsing config.in...
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 Zlib.bs
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
cp Zlib.bs blib/arch/auto/Compress/Zlib/Zlib.bs
chmod 644 blib/arch/auto/Compress/Zlib/Zlib.bs
rm -f blib/arch/auto/Compress/Zlib/Zlib.dll
LD_RUN_PATH="/usr/lib" ld2  -s -L/usr/local/lib Zlib.o  -o
blib/arch/auto/Compress/Zlib/Zlib.dll
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a -L/usr/local/lib
-lz
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
-lz
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
t/examples..........ok
t/zlib..............ok
All tests successful.
Files=2, Tests=179,  8 wallclock secs ( 2.32 cusr +  6.69 csys =  9.01
CPU)
  /usr/bin/make test -- OK
Running make install
Cannot forceunlink
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Compress/Zlib/Zlib.dll:
Permission denied at /usr/lib/perl5/5.6.1/cygwin-multi/File/Find.pmline
769
Installing
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Compress/Zlib/libZlib.a

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

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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