LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing pygtk... cant find gtk (https://www.linuxquestions.org/questions/linux-software-2/installing-pygtk-cant-find-gtk-134575/)

true_atlantis 01-13-2004 10:13 PM

installing pygtk... cant find gtk
 
im trying to install pygtk, but the configure script says i dont have gtkgl... how can i test to see if i really have it?

checking for libglade-2.0 >= 2.0.0... yes
checking LIBGLADE_CFLAGS... -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBGLADE_LIBS... -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtkgl-2.0 >= 1.99.0... Package gtkgl-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkgl-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkgl-2.0' found

mikshaw 01-14-2004 03:47 AM

check /opt/gnome/lib/pkgconfig
if it's in there, do
Code:

env | grep PKG_CONFIG_PATH
and see if the above path is listed. If not you'll need to add it to your $PKG_CONFIG_PATH variable in bashrc or profile (either in your home directory or in /etc):
Code:

PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome/lib/pkgconfig

true_atlantis 01-14-2004 01:41 PM

so if that file isnt there, then i dotn have it installed? i did a full install of slackware, shouldnt that isntall gtk?

mikshaw 01-14-2004 04:51 PM

It's possible that /opt/gnome/lib/pkgconfig/ isn't correct in Slackware....I haven't spent enough time with Slack to know.
I'd still do the env command, just to see what it does say for PKG_CONFIG

There are other pkgconfig directories you can check as well...
/usr/lib/pkgconfig and /usr/local/lib/pkgconfig come to mind...there may be others.

Now that I think about it, I don't really know what gtkgl is...I don't think it's part of the standard gtk install. You might want to google/linux for it.

....I gotta stop answering these posts until after I read them thoroughly.....

true_atlantis 01-14-2004 05:51 PM

damn... i am trying to get this soul seek (file sharing program) called nicotine to work, and its impossible... and i get this

Nicotine supports "psyco", an inline optimizer for python
code, you can get it at http://sourceforge.net/projects/psyco/
Can not find required PyGTK. The current search path is
['/usr/bin', '/usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages']

mikshaw 01-14-2004 09:11 PM

Which means you need to install PyGTK, the first thing you asked about. But PyGTK requires gtkgl, so I'd say you probably want to download and install that first, and then you can probably get PyGTK installed, followed by soul seek.
You might try looking on your distribution CDs first, though....when you install "Everything" it doesn't necessarily mean EVERYTHING. They lie sometimes.
The last time I installed SuSE I checked everything I saw. Then I realized that they have two methods of selecting packages, one of which displays only a portion of what is available on the CDs. Slackware was a bit less vague, though, so perhaps you did install everything you have.

morrolan 01-15-2004 02:58 AM

I'm having the same problem with PYGTK-2.0 and Slackware 9.1, and I also did a full install from the CD's, yet it's saying that it requires gtkgl.

Now gtkgl is in the package GTKGLArea-1.99 (or so it seems when you look in the tar archive or google for it) but again you get the same message saying that it isn't installed?

Now it seems logical to check the package config path(s) to see if the package is there, but I'm afraid that looks a little gibberish to me (being a :newbie: after all).

I take it that:
Code:

env | grep PKG_CONFIG_PATH
outputs the contents of the PKG_CONFIG_PATH with some kind of listing?

If it is indeed missing, what would the entry for gtkgl look like if I had to enter it manually?

Thanks.

true_atlantis 01-15-2004 01:21 PM

well, i figured out how to install pygtk... but i found a package that will install easily on slack... here is a link http://thegraveyard.org/files/slack/

morrolan 01-15-2004 01:37 PM

Does this version of pygtk not produce the error about the "gtkgl not in package config path" error?


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