Re: [xml] Release of libxml2-2.5.9 - Windows compilation
- From: Daniel Veillard <veillard redhat com>
- To: "William M. Brack" <wbrack mmm com hk>
- Cc: xml gnome org
- Subject: Re: [xml] Release of libxml2-2.5.9 - Windows compilation
- Date: Mon, 11 Aug 2003 08:46:54 -0400
On Mon, Aug 11, 2003 at 08:35:51PM +0800, William M. Brack wrote:
On Mon, August 11, 2003 17:59 +0800 Daniel Veillard wrote:
On Mon, Aug 11, 2003 at 07:33:47AM +0800, William M. Brack wrote:
Hi all,
For anyone wanting to compile this release under Windows, there
is
a bug (already corrected in CVS). It is easy to fix - just edit
the file libxml2.def.src and make the following 2 corrections:-
[...]
Since libxml2.def.src is automatically generated, I think we should
add a default rule in the existing makefiles to rebuild it
automatically.
Since adding Makefile.am and co. in win32 is likely to generate more
troubles, I think simply adding a rule in the doc/Makefile.am based
on libxml2-api.xml and $(srcdir)/../win32/defgen.xsl might be the
simplest
way to avoid such problem in the future, what do you think ?
Well, I'm very much in favour of any automation, but there is one
small problem - the generation requires an xslt transformation, and
I don't think it's reasonable to require anyone wanting to compile
under Windows to have xsltproc previously installed (in fact, there
is a "chicken and egg" problem for fresh installs). So, it seems to
me that we can't get away from including a pre-generated copy of
libxml2.def.src; the best we can do is check within the doc Makefile
whether xsltproc is installled and, if it is, regenerate
libxml2.def.src whenever libxml2-api.xml is regenerated. Does that
sound reasonable?
Yep same as the generation of the web pages in the doc/Makefile.am
If there is an installed xsltproc in /usr/bin and if the target needs to be
rebuild, use it, otherwise, ignore. The goal is mostly to make sure I
don't release not up-to-date stuff :-)
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]