LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-23-2004, 03:04 AM   #1
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Rep: Reputation: 15
Problems relating to glib 1.2.10 and glib 1.2.9


I'm using Mandrake 9.2 (DVD). I recently wanted to install XMMS and it said I did not have glib 1.2.2 or greater. So I downloaded glib 1.2.9 from the site it provided in the readme, and I followed the instructions carefully to install it (Linux newbie here). I had no trouble and I'm pretty sure it worked. Now when I went back to XMMS installation this is what I got...

http://www.thesouthernlegacy.com/upload/store/glib2.png

What exactly does this mean? Did I already have glib 1.2.10 installed? And most importantly... did I screw anything up!? >.<;;

What do I do?

I am also looking to install GIMP 2.0.1 on this Linux box but I don't want to try installing something else without fixing this problem first. I have a very bad record of horrible installs gone wrong in my previous Linux boxes because I never paid attention to errors. I'm trying to be good this time. Any guidance on this is also appreciated.

A couple more questions if I may...
What is the difference between linux and linux-enterpris (at LILO)?
How do I check if Wine/WineX/Wine3X? is installed? I want to install Photoshop CS here...

Any help is appreciated.
p3ngu!n

Last edited by p3ngu!n; 05-23-2004 at 03:33 AM.
 
Old 05-23-2004, 03:34 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I applaud your efforts to learn how to install from source, however, wouldn't it be easier to use the Mandrake software installing tools to install Xmms of the Mandrake disk? Or libglib-1.2-devel or whatever it's called? Anyhow, I think the problem here is that you installed glib-1.2 in /usr/local but Mandrake has some parts (but not all) of glib-1.2 in /usr. What you need to do is set some variables to point the xmms configure script towards what you installed in /usr/local like so
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L/usr/local/lib"
 
Old 05-23-2004, 03:47 AM   #3
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
I'm going to go try that now (went back to Windows for a few minutes), is there anything else I should know? And in what path should I be in in order to type those commands?

Last edited by p3ngu!n; 05-23-2004 at 03:48 AM.
 
Old 05-23-2004, 04:02 AM   #4
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Now I'm getting this:
Code:
...
checking for gtk-config... no
checking for GTK - version >= 1.2.2... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
*Bangs head against wall* What did my stupidity make me do now?
 
Old 05-23-2004, 04:07 AM   #5
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Anyway, I installed XMMS from the rpmdrake like you advised me to. Now I want to clean up the mess I made with the glib. What do I do?

And how do I put XMMS in the K "Start Applications" Menu?
 
Old 05-23-2004, 08:37 AM   #6
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by p3ngu!n
Now I want to clean up the mess I made with the glib. What do I do?
Quote:
Originally posted by p3ngu!n
A couple more questions if I may...
What is the difference between linux and linux-enterpris (at LILO)?
How do I check if Wine/WineX/Wine3X? is installed? I want to install Photoshop CS here...

Errr...help?

Last edited by p3ngu!n; 05-23-2004 at 08:40 AM.
 
Old 05-23-2004, 08:55 AM   #7
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
To remove the glib package you installed do whatever you did but instead of make install do make uninstall instead. If you can't remember what you did tap the up arrow key and it should scroll back through your previous commands.
I don't know what linux-enterpris is and I don't use lilo so I can't help you there.
I've never used Wine but I have used Photoshop on Windows. I could reboot into Windows to use it but I never do as I think the Gimp is fantastic. I sometimes use ImageMagick but the Gimp is the business.
 
Old 05-23-2004, 09:04 AM   #8
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Okay I shall try uninstalling glib 1.2.9 then... but did my earlier error imply that I had another version installed? What I want to do is have glib 1.2.9 installed, but remove older versions.
 
Old 05-23-2004, 09:12 AM   #9
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Well that's done, how do I check which versions of glib and gtk+ I have now? I don't want to try installing this one before I'm sure of what I have.
 
Old 05-23-2004, 12:17 PM   #10
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
pkg-config --modversion glib
pkg-config --modversion gtk+
 
Old 05-23-2004, 09:03 PM   #11
p3ngu!n
Member
 
Registered: Oct 2003
Posts: 64

Original Poster
Rep: Reputation: 15
[felix@dhcppc1 felix]$ su
Password:
[root@dhcppc1 felix]# pkg-config --modversion glib
sh: line 1: glib-config: command not found
sh: line 1: glib-config: command not found
sh: line 1: glib-config: command not found

[root@dhcppc1 felix]# pkg-config --modversion gtk+
sh: line 1: gtk-config: command not found
sh: line 1: gtk-config: command not found
sh: line 1: gtk-config: command not found

[root@dhcppc1 felix]#

I'm guessing this means neither is installed, correct?

Last edited by p3ngu!n; 05-23-2004 at 10:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
[GLIB] Problems Installing GLIB ThA_eLMo_GoD Linux - Newbie 2 09-04-2004 05:27 PM
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
Compiling GAIM says i need GLib 2.0, yet i have GLib 2.4 MadSkillzMan Linux - Newbie 3 07-10-2004 04:10 AM

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

All times are GMT -5. The time now is 05:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration