LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2007, 12:40 PM   #1
arif_moin
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17

Rep: Reputation: 0
Issue w GLIB when upgrading GTK


Hey'ya there...

I am trying to upgrade gtk+2.4.13. I un-tarred it and it said I needed Glib 2.4.0. I downloaded the exact version of glib asked, untarred it and installed it to the default directory using:

./configure
make
make install

The Glib instillation went without a hitch or an issue. Since I didn't specify any custom instillation path, the libs should've installed in the default directory, right?

However, when I try and reinstall GTK 2.4.13, it still says I have Glib 2.2.3 (while it needs 2.4.0).

The Glib 2.4.0 installed its libraries in /usr/local/libs and I already added this path onto the ld.so.conf in the /etc folder (as requested).

If the info will help:-

I unpacked the Glib-2.4.0 tar.gz file onto /home/diesel and ran the ./configure, make & make install files from there.

How do I get gtk to find the new lib (eventhough it's installed in the default dir)?

How do I get rid of glib 2.2.3? From which subdir (RedHat Linux Enterprise 3WS) should I run the "make uninstall" from? Thanks again...

Last edited by arif_moin; 07-05-2007 at 12:50 PM.
 
Old 07-05-2007, 02:45 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
"uninstalling" software that was compiled from source might be tricky. If there is a "make uninstall" target, you need to run that from the source directory where the software was compiled in.

If you're using RedHat which is a binary distribution, why not use rpm packages for this? A lot easier if you ask me..

Read trough the configure script you use to see the options. It might even have something like
Code:
./configure --help
which explains the options. There are a lot of them if I'm right, but at least one that lets you specify the library path you asked for.
 
Old 07-14-2007, 03:39 PM   #3
arif_moin
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17

Original Poster
Rep: Reputation: 0
Solution: Switched distro

Thanks for the reply bro.

After some serious and looking at other distros, I ditched RHEL in favour of Ubuntu. None of the problems (azureus / ctorrent dl/ speed, upgrading libs, enabling DVD burner, etc., etc) of RHEL ever surfaced in Ubuntu, it was a breeze!!

I got scared off Ubuntu considering it was associated w/ the word DEBIAN (and that I'm a total noob). However, after trying it, it was a breeze, it took me about 20 mins to get all the drivers & hardware configs up & running.

THanks again for your reply, though, much appreciated...

I have nothing against RHEL or people who support RH, but for a rookie like me, the RPM "dependency errors" were simply WAY too maddening & hair pulling. None of that "dependency error" s#$t w/ Ubuntu. The apt-get & the auto update manager are WAY more rookie friendly...

I don't mind exploring other distros like Gentoo, going back to RH, but for now, Ubuntu it is...(7 Fiesty Fawn).
 
Old 07-26-2007, 11:57 AM   #4
tbutts
LQ Newbie
 
Registered: Jul 2007
Location: Minnesota
Distribution: Linux SUSE 9.3 Pro
Posts: 7

Rep: Reputation: 0
I have a question on this. Specifically glib.

First is there a command that you can type to see what version of GLIB you are currently using?
I am trying to install a program, and when i did ./configure it said i have to upgrade gtk+. So, i went and downloaded the latest version of gtk+. I went to ./configure that, and it says i have to upgrade glib.

I went and downloaded that, and did ./configure. That went fine. I did make then make install. It all went fine.

But, when i went back and tried to ./configure gtk, it says that i still have the old version of glib.

Givens:
Linux SUSE 9.3
I copied all of these to root directory.
Did tar zxvf <file>.tar.gz on all of them.
Windows user for ever. Actually started with DOS (so you would think that would help lol).

Thanks!
 
Old 07-28-2007, 10:08 AM   #5
arif_moin
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
have a question on this. Specifically glib.

First is there a command that you can type to see what version of GLIB you are currently using?
I am trying to install a program, and when i did ./configure it said i have to upgrade gtk+. So, i went and downloaded the latest version of gtk+. I went to ./configure that, and it says i have to upgrade glib.

I went and downloaded that, and did ./configure. That went fine. I did make then make install. It all went fine.

But, when i went back and tried to ./configure gtk, it says that i still have the old version of glib.

Givens:
Linux SUSE 9.3
I copied all of these to root directory.
Did tar zxvf <file>.tar.gz on all of them.
Windows user for ever. Actually started with DOS (so you would think that would help lol).

Thanks!
I seriously, SERIOUSLY suggest you change to Ubuntu 7 Fiesty Fawn- by far the best balance between user friendliness & power...as far as a Linux newbie like me is concerned at least...I can guarantee you'll have none of the issues you're facing in Ubuntu 7.

Sorry man, that's the best I can tell you for now...

Last edited by arif_moin; 07-28-2007 at 10:10 AM.
 
Old 08-02-2007, 11:25 AM   #6
pyre
Member
 
Registered: Nov 2003
Distribution: Redhat linux 9, Fedra Core 1, Gentoo, Debian (woody), Mandrake 9.2
Posts: 75

Rep: Reputation: 15
Question

running feisty, been using ubuntu for a long time, same problem. How the hell do you get rid of crap (old versions) when compiling from source? Most things I want arent .deb. Besides, this is a fairly common thing with linux, compiling and all, is there no easy answer? Ive had this problem for far too long to not have an answer myself but I think it would great to get a definitive answer from someone who knows for the benefit of everyone.
thats my rant.
thank you for the help in advance

-Pyre
>=)
 
Old 08-03-2007, 05:27 PM   #7
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Create packages! Have a look at checkinstall (does .deb IIRC). There should be a debian tool to do that as well.
 
Old 08-05-2007, 05:41 AM   #8
arif_moin
LQ Newbie
 
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
running feisty, been using ubuntu for a long time, same problem. How the hell do you get rid of crap (old versions) when compiling from source?
I was thinking more in terms not having to deal with an endless list of dependency errors for getting pre-made packages in Fiesty. I personally haven't had the need to go look for progs that aren't in .deb format as of yet.
 
Old 10-21-2007, 03:28 PM   #9
Cryo2010
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
This may help:

http://www.linuxquestions.org/questi...4/#post2931824
 
  


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
[Slackware 10.2] "Upgrading" packages gtk+, glib, atk, pango stevesk Linux - Newbie 9 07-02-2006 07:09 PM
GTK+ programs on Windows without having to install GTK+, GLib, etc Nylex Programming 2 02-19-2006 02:33 PM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 12:57 PM
GTK+/Glib issue Iainmc Linux - Newbie 4 03-09-2005 05:50 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 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 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