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: Thu, 26 Jul 2007 07:51:10 -0400
On Thu, Jul 26, 2007 at 12:18:55PM +0200, Marco Spinetti wrote:
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?
you will obviously need to rebuild libxml2 against that python
and then libxslt:
paphio:~/XML -> ./configure --help | grep python
--with-python[=DIR] build Python bindings if found
paphio:~/XML ->
you need to point where the python 2.2 stuff has been installed
export PYTHON=/usr/bin/python2.2 ; ./configure
may work too
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]