Re: [xml] Compilation error

On Thu, Jul 26, 2007 at 10:36:11AM +0200, Marco Spinetti wrote:
I'm trying to update libxml2 and libxslt on my system.

Linux version 2.4.2-2 (gcc version 2.96 20000731 (Red Hat Linux 7.1 
2.96-79)) #1 Sun Apr 8 20:41:30 EDT 2001

I compiled and installed libxml2 (2.6.29) without problem.
Then I tryed to do the same with libxslt:

rpm --rebuild libxslt-1.1.21-1.src.rpm
 i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/include/python1.5 -I/usr/include/libxml2 -I../libxslt -I.. 
-I../libexslt -O2 -march=i386 -mcpu=i686 -Wall -MT types.lo -MD -MP -MF 
.deps/types.Tpo -c types.c  -fPIC -DPIC -o .libs/types.o
types.c: In function `libxml_xmlXPathObjectPtrConvert':
types.c:432: parse error before `PyBool_Check'
types.c:432: warning: implicit declaration of function `PyBool_Check'
types.c:432: parse error before `{'

  The version of Python installed is too old.

Am I missing something?
How can I update my libxslt?

  upgrade python first (good luck), or disable python in some way.
You will need surgery, sorry, maintainance of systems as old as
yours is costly, nothing we can do about this,


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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