LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gnome-python-2.5.90 (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-python-2-5-90-a-215902/)

xlordt 08-10-2004 03:05 PM

gnome-python-2.5.90
 
im tring to install gnome-python-2.5.90 but it cant find the package pygtk-2.0, I have also downloaded it and installed it.. the errors that i get is...
Code:

checking for python extension module directory... ${exec_prefix}/lib/python2.3/site-packages
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/bin/pkg-config
checking for pygtk-2.0 >= 2.3.96... 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.3.96) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Do i have to login to gnome for this? cause.. i have checked in the dir where it was installed and i cant find that file.. looks like it didnt create it. Any ideas?


slackware 10.0
running fluxbox

auditek747 08-10-2004 05:03 PM

You should install Pygtk with:
./configure --prefix=/usr

Do a /sbin/ldconfig after the make install.

Gnome-Python also needs:
./configure --prefix=/usr

Just on the off chance that you may some day need pyorbit,
It's best to install this before the other two. (--prefix=/usr)

Just a note:

--prefix=/usr will put .pc files in /usr/lib/pkgconfig/
If a compile complains about not finding them, you can do:

eport PKG_CONFIG_PATH=/usr/lib/pkgconfig


All times are GMT -5. The time now is 11:13 AM.