LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-22-2006, 09:52 PM   #1
Kairon
LQ Newbie
 
Registered: Aug 2006
Location: Twin Cities, MN
Distribution: Slackware 10.2
Posts: 9

Rep: Reputation: 0
Trying to install glib and pygtk for Cedega


This probably has a very simple solution, but I can't figure it out...maybe someone else can give it a shot? Here's the long version of the story:

I downloaded glib-2.12.3 in a .tar.bz2 file, uncompressed it, and installed it using the following commands:

# ./configure
# make
# make install

However, for some reason when I tried to install pygtk 2.8.6, configure could not run the GLIB test program. It said that the test program failed to compile or link, and that it usually means GLIB is incorrectly installed. When I checked pkgtool, there was no mention of glib 2.12.3 (glib 1.4 was there alone).

Then I went to the Slackware official web site, downloaded glib2-2.10.3-i486-1.tgz and installed that. Now, pygtk configure returns a different error:

'pkg-config --modversion glib-2.0' returned 2.10.3, but GLIB (2.12.3) was found! If pkg-config was correct, then it is best to remove the old version of GLib. You may also be able to fix the error by modifying your LD_LIBRARY_PATH environment variable, or by editing /etc/ld.so.conf. If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH to point to the correct configuration files.

I also noticed that the glib2-2.10.3 libraries are listed in pkgtool. Since it seems like the 2.10.3 tgz file installed properly and the 2.12.3 version did not, I would like to uninstall the 2.12.3 files. How do you do that after running make install? Or can anyone think of a better way to get pygtk to configure?

The eventual goal for all of this nonsense is to get all of the dependencies for Cedega installed, since at the moment it crashes and can't load GTK2 Python bindings.
 
Old 09-23-2006, 02:26 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Compiling from sources doesn't 'tell' pkgtool anything. Only correct packages that are installed with installpkg are registered.
Run 'make uninstall' from the same directory where you compiled to uninstall. Then reinstall the tgz package.
 
Old 09-23-2006, 02:43 AM   #3
Kairon
LQ Newbie
 
Registered: Aug 2006
Location: Twin Cities, MN
Distribution: Slackware 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
Hey thanks, that did the trick!
It seems like a good idea in general to just download .tgz files from Slackware.com rather than using make to install packages...

Last edited by Kairon; 09-23-2006 at 02:44 AM.
 
Old 09-24-2006, 10:04 AM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Originally Posted by Kairon
It seems like a good idea in general to just download .tgz files from Slackware.com rather than using make to install packages...
Yep... Never issue 'make install' on a system that uses a package manager. You'll screw things up rather quick. Same thing goes for using rpm's on slack. If you need to compile something from source, look into learning how to make your own tgz packages.
 
  


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
PyGtk / Glib problem ericb Linux - Software 2 06-12-2006 10:58 PM
install latest versions of python, pygtk and glib kosmognov Linux - Software 2 05-12-2006 02:30 PM
pygtk and glib MasterKin8T Slackware 2 01-16-2005 11:39 PM
pygtk install found 2 versions of glib and complains Kanaflloric Linux - Software 1 09-28-2004 04:46 AM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:07 PM.

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