LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2004, 10:13 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
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
 
Old 01-14-2004, 03:47 AM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
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
 
Old 01-14-2004, 01:41 PM   #3
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
so if that file isnt there, then i dotn have it installed? i did a full install of slackware, shouldnt that isntall gtk?
 
Old 01-14-2004, 04:51 PM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
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.....
 
Old 01-14-2004, 05:51 PM   #5
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
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']

Last edited by true_atlantis; 01-14-2004 at 06:10 PM.
 
Old 01-14-2004, 09:11 PM   #6
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
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.
 
Old 01-15-2004, 02:58 AM   #7
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 264

Rep: Reputation: 30
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 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.
 
Old 01-15-2004, 01:21 PM   #8
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
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/
 
Old 01-15-2004, 01:37 PM   #9
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 264

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BitTorrent can't find gtk Kruncher Slackware 10 10-23-2005 02:58 AM
installing pygtk Starch Linux - Newbie 3 07-18-2005 04:08 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
cant find gtk.h m_m Linux - Software 1 11-04-2004 12:02 AM
installing pygtk-1.99.9 errors Scruff Linux - Software 0 09-01-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration