RE: [xml] Compiling libxml2 as DLL under Cygwin



On cygwin, install the autotools -dev versions - that is libtool,
autoconf and automake.

Grab the -src packages from via setup.exe, and then replace the source
archives with the verison you want to build - the patchs should apply to
all the source files, but may fail on Makefile.in's and configure.

Then rrename the build script that is placed in /usr/src, and the patch,
to be for the cversion you are building. Then go for it.

That should let you get places. I'll be upgrading the libx* packages in
the next day or so anyway.

Grab 

-----Original Message-----
From: Christopher R. Maden [mailto:crism maden org] 
Sent: Tuesday, March 05, 2002 11:21 AM
To: xml gnome org
Subject: [xml] Compiling libxml2 as DLL under Cygwin



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As those of you who subscribe to xslt know, I've been having some 
problems.  I'm trying to upgrade libxml2 and libxslt to the latest 
versions, which aren't yet available as Cygwin packages.

When I try to compile libxslt, it complains that libxml2 
isn't a shared 
library.  Comparing the 2.4.13 libxml2.la from the Cygwin 
package with the 
libxml2.la generated by building 2.4.16, the difference seems 
to be that 
2.4.13 had a libxml2.dll.a, while I can't seem to get 2.4.16 
to build one.

Can anyone point me towards how to coax a build of a DLL under 
Cygwin?  Yes, I tried ./configure --enable-shared (though not with a 
specific package given).

I'm a markup nerd, not a compiler whiz, so any help would be greatly 
appreciated.

Thanks in advance,
Chris
- -- 
Christopher R. Maden, Principal Consultant, crism consulting 
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 
AFEC 58DA -----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBPIQPVqxS+CWv7FjaEQKIHACgin46TRZ/vdc9K8pRh1esutAtmU0AoJQR
gS2FfdYFIt/a7zaXrDpmyqSd
=Z6TL
-----END PGP SIGNATURE-----

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/ 
xml gnome org http://mail.gnome.org/mailman/listinfo/xml




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