problems with Python
synaptic says the latest version of python is 2.4.1-0, and that I have it installed... I am missing python.h and when I try installing a python package, it tells me that i need python version 2.4.1-2
Unpacking python2.4-dev (from .../python2.4-dev_2.4.1-2_i386.deb) ... dpkg: dependency problems prevent configuration of python2.4-dev: python2.4-dev depends on python2.4 (= 2.4.1-2); however: Version of python2.4 on system is 2.4.1-0. dpkg: error processing python2.4-dev (--install): dependency problems - leaving unconfigured Errors were encountered while processing: python2.4-dev That is the result I get. I need python.h installed, but I cant install it due to not having the most recent python installed, which according to synaptic, I do. Please help. |
actually, i just fixed that, however another problem has come up...
checking /usr/include/python2.4/Python.h usability... yes checking /usr/include/python2.4/Python.h presence... yes checking for /usr/include/python2.4/Python.h... yes checking for pkg-config... /usr/bin/pkg-config checking for pygtk-2.0 >= 2.4.0 pyorbit-2 >= 2.0.1 gnome-python-2.0 >= 2.6.0... Package pygtk-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'pygtk-2.0' found configure: error: Library requirements (pygtk-2.0 >= 2.4.0 pyorbit-2 >= 2.0.1 gnome-python-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. what to do now? |
Well, it would seem that you have to make sure the developer files for that library is installed, and then set the environment variable PKG_CONFIG_PATH to point to it if it's not in your normal library path.
|
Python.h
dratix,
Do you mind sharing how you managed to get around the Python.h file problem?? I am currently trying to compile a program from source and one of the errors i get is that Python.h cannot be found. But, I do have Python.h in the /usr/include/python2.4/ path. Do I have to add this path to some type of environment variable? |
All times are GMT -5. The time now is 06:14 PM. |