LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Problems relating to glib 1.2.10 and glib 1.2.9 (https://www.linuxquestions.org/questions/mandriva-30/problems-relating-to-glib-1-2-10-and-glib-1-2-9-a-184728/)

p3ngu!n 05-23-2004 03:04 AM

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. :D 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

Andrew Benton 05-23-2004 03:34 AM

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"


p3ngu!n 05-23-2004 03:47 AM

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?

p3ngu!n 05-23-2004 04:02 AM

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?

p3ngu!n 05-23-2004 04:07 AM

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?

p3ngu!n 05-23-2004 08:37 AM

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?

Andrew Benton 05-23-2004 08:55 AM

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.

p3ngu!n 05-23-2004 09:04 AM

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.

p3ngu!n 05-23-2004 09:12 AM

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.

Andrew Benton 05-23-2004 12:17 PM

pkg-config --modversion glib
pkg-config --modversion gtk+

p3ngu!n 05-23-2004 09:03 PM

[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?


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