delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/25/10:42:12

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: Thu, 25 Oct 2001 16:35:40 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
X-Mailer: The Bat! (v1.53d)
Reply-To: "Gerrit P. Haase" <cygwin AT cygwin DOT com>
Organization: convey Information Systems GmbH
X-Priority: 3 (Normal)
Message-ID: <73195154016.20011025163540@familiehaase.de>
To: Bruce Rosenquist <BROSENQU AT altera DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Perl module XML::Parser + Expat build problem
In-Reply-To: <654DA751A174D411ABDB0001026EFCD311D556@otc-msg01.altera.com>
References: <654DA751A174D411ABDB0001026EFCD311D556 AT otc-msg01 DOT altera DOT com>
MIME-Version: 1.0

Hallo Bruce,

2001-10-25 16:28:21, du schriebst:

> I tried your patch as follows, but it fails:

> "
> (expat-1.95.2)# patch --dry-run Makefile.in  expat.patch
> patching file `Makefile.in'
> Hunk #1 FAILED at 90.
> 1 out of 1 hunk FAILED -- saving rejects to Makefile.in.rej
> "

> Am I applying it correctly ... I am so naive in these matters ...

Hmm, I don't know.  Well, look in the patch, I added only one flag.
At the top of the patch are the linenumbers and the name of the file,
here lib/Makefile.in, and probably line 90, add '-no-undefined' like it is
in the patch, thats it.

Looks like this then (all in one line please):
LINK = $(LIBTOOL) --mode=link  $(CCLD) -no-undefined -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@

> I have seen these threads on the whole 'cygwin + XML::Parser + Expat' issue,
> but have had no luck solving my problem - why is it soooo complicated ?

It isn't, but the expat coders have a bug in the sources so it will fail
to build with a .dll, the bug was reported several times now, but they
don't release a new version...

> I have seen it suggested to go back to previous versions of expat +
> XML::Parser,
> to get it to all work with cygwin - would the install tools be more evolved?

You will also need expat.  Probably there will be some more trouble as
usual.

> Why can't I use the pre-compiled win32 binaries with cygwin - is it because
> they were compiled using the MS compiler, rather than 'gcc'?

The modules need to be compiled with the same compiler as perl was.

Gerrit
-- 
convey Information Systems GmbH                 http://www.convey.de/
                                                Vitalisstraße 326-328
Gerrit P. Haase                                 D-50933 Köln
gerrit DOT haase AT convey DOT de                          Fon: ++49 221 6903922


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

- Raw text -


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