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/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
