Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 15 Dec 2000 23:11:39 -0800 From: Steve Kelem Subject: re: Problems compiling perl module Compress-Zlib with perl To: Cygwin , cwilson AT ece DOT gatech DOT edu Message-id: <3A3B15AB.9080001@pacbell.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001108 Netscape6/6.0 X-Accept-Language: en Steve Kelem wrote: > > I downloaded and installed the binary release of cygipc, and it installed the > sys/*.h files. > (Perl v5.6.0-RC1, Cygwin 1.0, latest download (as of yesterday), NT 4.0 SP6, > Pentium III 550, 256M memory) > > Charles Wilson wrote: > > > 1. Download, build, and install Compress-ZLib manually. > > (you know, perl Makefile.PL, make, make install) > > I tried this, and got the following. Any idea what's wrong? > > Thanks for your help, > Steve > > % make [snip] > LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll -L/usr/local/lib > Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a > dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool > --export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \ > > -L/usr/local/lib Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a > I'm not sure why yours is not doing this, but the preceding command should be: LD_RUN_PATH="/usr/local/lib" ld2 -o ..... Try doing that by hand; if it works, then we can try to determine why your perl isn't generating the correct makefile. --Chuck I modified the generated Makefile so that LD_RUN_PATH is set to "/usr/local/lib". Now I get: {KELEM:kelem:213} make | & tee Make.out mkdir blib mkdir blib/lib mkdir blib/lib/Compress mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/Compress mkdir blib/arch/auto/Compress/Zlib mkdir blib/lib/auto mkdir blib/lib/auto/Compress mkdir blib/lib/auto/Compress/Zlib mkdir blib/man3 cp Zlib.pm blib/lib/Compress/Zlib.pm AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib) /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin -I/usr/local/lib/perl5/5 .6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5 .6.0/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -DUSEIMPOR TLIB -O -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -I/usr/local/lib/perl5/5.6 .0/cygwin/CORE Zlib.c cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: unrecognized option `-remap' cpp: installation problem, cannot exec `cpp': Resource temporarily unavailable make: *** [Zlib.o] Error 1 Thanks for your help, Steve Kelem -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com