This is the mail archive of the cygwin@sources.redhat.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: problem building perl module Compress::Zlib 1.08 from inside cygwin


On Sat, Dec 16, 2000 at 01:35:58AM -0500, Soren Andersen wrote:
>Steve asks about:
>
>> I'm having problems building the Compress::Zlib 1.08 perl module from 
>> inside cygwin.
>> It appears to be a C compiler problem.  The (knowlegable) author of 
>> Compress says it looks like a cygwin problem.
>> I've attached the output of cygcheck -s
>> 
>> Thanks,
>> Steve Kelem
>> 
>> -------- Original Message --------
>> Subject: RE: problem building Compress::Zlib 1.08
>> Date: Wed, 13 Dec 2000 18:12:33 +0000
>> From: Paul Marquess <paul_marquess@yahoo.co.uk>
>> Reply-To: Paul.Marquess@btinternet.com
>> To: Steve <s_kelem@pacbell.net>
>> CC: paul.marquess@btinternet.com
>> 
>> 
>> 
>> From: Steve [mailto:s_kelem@pacbell.net]
>> 
>> Steve,
>> 
>> I don't do any development on NT, but from the look of the output you've
>> sent me it looks like a problem with cygwin.
>> 
>> Paul
>
>Paul's right.
>
>> > I'm having problems compiling Compress::Zlib-1.08 on the latest cygwin
>> > under Win NT 4, Sp 6a.
>> > I installed zlib 1.1.3.
>> > I edited config.in:
>> > BUILD_ZLIB    = True
>> > INCLUDE     = /usr/local/include
>> > LIB    = ../zlib-1.1.3
>{snip}
>> > Here is the build log for Compress::Zlib
>> > % perl Makefile.PL
>> > Parsing config.in...
>> > Created a Makefile.PL for zlib
>> > Building Zlib enabled
>> > Looks Good.
>{snip}
>
>> > 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 ../zlib-1.1.3/libz.a
>> > /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
>> > Warning: no export definition file provided
>> > dllwrap will create one, but may not be what you want
>
># this is definitely where your problem is
>> > /H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../
>> > ../i586-cygwin32/bin/ld:
>> > Can't open base file /c/TEMP\cc000554.base
># that ^^^^^ was it, the rest was business-as-usual.
>
>> > collect2: ld returned 1 exit status
>> > dllwrap: gcc exited with status 1
>> > perlld: *** system() failed to execute
>> > 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 ../zlib-1.1.3/libz.a
>> > /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
>> >
>> > make: *** [blib/arch/auto/Compress/Zlib/Zlib.dll] Error 1
>> >
>> > The output of perl -V is:
>{snip - not relevant (but if you don't know, always good to be thorough I 
>suppose)}
>
>Your attachment shows that you have C: mounted to /c/ as text. It should 
>be binary (no CR/LF <-> LF conversions). Any drive on which you are 
>using cc tools (as for instance) should be mounted as binary, I think.

No.  This should make no difference.

cgf

--
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]