RE: [xml] CYGWIN compile problems



Thanks for the patch; it allows me to compile and install libxml2. However,
I have to define LIBXML_STATIC to link my application with libxml2. libxslt
has the same problem. The patch is necessary, but I question if the test (in
xmlversion.h) for __CYGWIN__ is a reasonable indicator for dynamic linking.
BTW, should xmlversion.h be testing for _MSC_VER? Shouldn't MS compiles be
using xmlwin32version.h?

Charles Bozeman
(256) 961-2139


-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Tuesday, January 15, 2002 11:51 AM
To: EXT-Bozeman, Charles H
Cc: 'xml gnome org'
Subject: Re: [xml] CYGWIN compile problems


On Tue, Jan 15, 2002 at 10:50:13AM -0600, EXT-Bozeman, Charles H wrote:
I cannot compile libxml2-2.4.13 from the sources unless I define IN_LIBXML
or LIBXML_STATIC. I am using cygwin which does not support dynamic
libraries
(at least mine doesn't); I thought you had to have MINGW for dynamic
libraries. I have tried:

Can you try the following patch and tell if this fixes it ?

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branch
type=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sor
tby=Date&hours=&date=explicit&mindate=01%2F15%2F02+12%3A09&maxdate=01%2F15%2
F02+12%3A11&cvsroot=%2Fcvs%2Fgnome

  thanks

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]