This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Problems compiling perl module Compress-ZLib with perl




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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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