This is the mail archive of the cygwin@cygwin.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: Perl module XML::Parser + Expat build problem


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.haase@convey.de]
Sent: Wednesday, October 24, 2001 12:38 PM
To: Bruce Rosenquist
Cc: 'cygwin@cygwin.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.haase@convey.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/


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