delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/16/11:51:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 16 Dec 2000 11:50:39 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: problem building perl module Compress::Zlib 1.08 from inside cygwin
Message-ID: <20001216115039.E29602@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Cygwin <cygwin AT cygwin DOT com>
References: <3A3A6748 DOT 1030704 AT pacbell DOT net> <3A3AC6FE DOT 13630 DOT C0C7076 AT localhost>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A3AC6FE.13630.C0C7076@localhost>; from soren@wonderstorm.com on Sat, Dec 16, 2000 at 01:35:58AM -0500

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 AT yahoo DOT co DOT uk>
>> Reply-To: Paul DOT Marquess AT btinternet DOT com
>> To: Steve <s_kelem AT pacbell DOT net>
>> CC: paul DOT marquess AT btinternet DOT com
>> 
>> 
>> 
>> From: Steve [mailto:s_kelem AT pacbell DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019