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 Message-ID: <654DA751A174D411ABDB0001026EFCD311D556@otc-msg01.altera.com> From: Bruce Rosenquist To: "'Gerrit P. Haase'" Subject: RE: Perl module XML::Parser + Expat build problem Date: Thu, 25 Oct 2001 07:04:40 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f9PE52625878 Gerrit, 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 ... 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 ? 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? 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'? http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/easysoap/easysoap/README?anno tate=1.5 http://sourceforge.net/tracker/index.php?func=detail&aid=454879&group_id=101 27&atid=110127 Thanks again for all your help, Bruce -----Original Message----- From: Gerrit P. Haase [mailto:gerrit DOT haase AT convey DOT de] Sent: Wednesday, October 24, 2001 12:38 PM To: Bruce Rosenquist Cc: 'cygwin AT cygwin DOT com' Subject: Re: Perl module XML::Parser + Expat build problem Hallo Bruce, 2001-10-24 18:26:11, du schriebst: > I am trying to install XML::Parser using cygwin + cygwin perl, > which relies on the expat libs, but I have been unable to get expat to > build, > using make and gcc from cygwin. > (cygwin install, version 2.78.2.9) > I got expat from: > http://expat.sourceforge.net/ > and others have informed me that a static lib should work with cygwin, > and that expat-1.95.2 builds with a static lib by default. I made a little change, now you will get dynamic libraries (if you use the latest autotools), apply my patch and it should work then. The patch is attached. And you need to move the .dll in the bin dir after 'make install' (ohoh, it is all so buggy), looks for me like this: $ cp /usr/local/lib/libexpat-0-1-0.dll /usr/local/bin/libexpat-0-1-0.dll 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/