Jeffrey Ollie | 8 May 21:26
Picon
Gravatar

Building lxml 2.0.5 on RHEL/CentOS 4

Has anyone built lxml 2.0.5 on RHEL 4 or CentOS 4?  When I submit it
to the Fedora/EPEL buildsystem I get the following error:

libxml/schematron.h: No such file or directory

I don't have direct access to a RHEL/CentOS 4 box so I can't do much
more debugging until I do get one set up.  libxml2 is at version
2.6.16 in RHEL/CentOS 4.  The full build log is here:

http://buildsys.fedoraproject.org/logs/fedora-4-epel/38964-python-lxml-2.0.5-1.el4/ppc/build.log

Jeff
Stefan Behnel | 9 May 10:35
Picon

Re: Building lxml 2.0.5 on RHEL/CentOS 4

Hi,

Jeffrey Ollie wrote:
> Has anyone built lxml 2.0.5 on RHEL 4 or CentOS 4?  When I submit it
> to the Fedora/EPEL buildsystem I get the following error:
> 
> libxml/schematron.h: No such file or directory
> 
> I don't have direct access to a RHEL/CentOS 4 box so I can't do much
> more debugging until I do get one set up.  libxml2 is at version
> 2.6.16 in RHEL/CentOS 4.

That's too old anyway. lxml > 1.3.x requires libxml2 2.6.21 (although I think
2.0.x still states it works with 2.6.20, which the above error proves wrong...)

Two choices: stay with lxml 1.3 or build your own libxml2 as well.

Stefan
Jeffrey Ollie | 9 May 13:54
Picon
Gravatar

Re: Building lxml 2.0.5 on RHEL/CentOS 4

On Fri, May 9, 2008 at 3:35 AM, Stefan Behnel <stefan_ml <at> behnel.de> wrote:
>
> That's too old anyway. lxml > 1.3.x requires libxml2 2.6.21 (although I think
> 2.0.x still states it works with 2.6.20, which the above error proves wrong...)
>
> Two choices: stay with lxml 1.3 or build your own libxml2 as well.

Doh, my sleep deprived-brain thought that I had built an earlier
version of lxml 2.0.x for RHEL 4, but I guess the last build was 1.3.6.
Thanks for the wake up call!

Jeff

Gmane