[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Compilation error
- From: Daniel Veillard <veillard redhat com>
- To: Marco Spinetti <spinmar interfree it>
- Cc: xml gnome org
- Subject: Re: [xml] Compilation error
- Date: Fri, 27 Jul 2007 09:03:57 -0400
On Thu, Jul 26, 2007 at 11:03:08AM -0400, Daniel Veillard wrote:
> On Thu, Jul 26, 2007 at 04:02:48PM +0200, Marco Spinetti wrote:
> > I don't know if this versioning problem is a good news or not.
> > For example RHEL 3 has python 2.2.3: so I suppose that it's no possibile
> > to use tha last versions of libxslt.
> > It's a bad news.
>
> The *only* solution to avoid this kind of problem is to not code
> anymore on libxml2 or libxslt. If you really want to backport, then
> do it, but as I said it does take time and expertise, running old systems
> is NOT CHEAP. The way you can do this is the following, go back to
> the diffs between 2.6.16 and 2.6.17, find the enhancement of libxml2
> and libxslt which added support for booleans in XPath from python.
> Get a revert patch, use that patch on recent release, do the QA to
> make sure this doesn't break other libxml2 python apps (like for example
> RHEL installer) and then keep your forked version.
Actually, once you have a revert patch it should be possible to
make the code section conditional on Py_Bool being defined (or something
similar) which would allow compilation in degraded mode on older versions
and normal support with recent ones without carrying the patch separately.
Such a patch could be added to the main code base.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]