How to build pygtk with non system default python?
I'm on Debian Lenny. I've built and installed python-3.2 in /opt/python-3.2. Then i want to build and install pygtk, pycairo with /opt/python-3.2 and install them in that folder and not to use system default python (which is python-2.6) for their build process.
How do I tell pygtk and pycairo 's configure and makefile script to use /opt/python-3.2 's interpreter, include file and library for their build process(and not the system default python)? I tried doing ./configure --help in pygtk folder but there was no option for specific non-system default python's folder location. Anyone has any ideas? |
If I only
Code:
export PATH=/opt/python-3.2/bin:$PATH |
Python 3 is a new different Python. I guess that the pygtk and pycairo
you can get now are for Python 2. But anyway this works for setting a 'python' : grep -n PYTHON configure to find where in 'configure' PYTHON is defined, and then edit PYTHON = " " to : PYTHON = /opt/python-3.2/bin/python Suggest : Read about Python 3, and find what has to be changed to make it possible porting Python 2 applications to "3". .. |
knudfl said:
Quote:
|
All times are GMT -5. The time now is 12:11 PM. |