delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3C16B621.8651B759@lapo.it> |
Date: | Wed, 12 Dec 2001 02:42:57 +0100 |
From: | Lapo Luchini <lapo AT lapo DOT it> |
X-Mailer: | Mozilla 4.76 [en] (Windows NT 5.0; U) |
X-Accept-Language: | it,en,fr,es,ja |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | 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 AT lapo DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |