Re: [xml] Compilation error
- From: Marco Spinetti <spinmar interfree it>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] Compilation error
- Date: Thu, 26 Jul 2007 12:18:55 +0200
I compiled python 2.2.1 and installed in my system.
Now I have python 1.5 and 2.2.1 installed.
ls -la /usr/bin/python*
-rwxr-xr-x 2 root root 412236 Mar 3 2001 /usr/bin/python
-rwxr-xr-x 2 root root 412236 Mar 3 2001 /usr/bin/python1.5
-rwxr-xr-x 2 root root 837918 Jul 26 11:11 /usr/bin/python2
-rwxr-xr-x 2 root root 837918 Jul 26 11:11 /usr/bin/python2.2
The problerm is that whn I try to compile libxslt, it finds python 1.5
and not 2.2.1.
can i tell it to use python2?
Best regards
Daniel Veillard ha scritto:
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,
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]