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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-05-2007, 12:40 PM
|
#1
|
LQ Newbie
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17
Rep:
|
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.
|
|
|
07-05-2007, 02:45 PM
|
#2
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
"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
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.
|
|
|
07-14-2007, 03:39 PM
|
#3
|
LQ Newbie
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17
Original Poster
Rep:
|
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).
|
|
|
07-26-2007, 11:57 AM
|
#4
|
LQ Newbie
Registered: Jul 2007
Location: Minnesota
Distribution: Linux SUSE 9.3 Pro
Posts: 7
Rep:
|
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!
|
|
|
07-28-2007, 10:08 AM
|
#5
|
LQ Newbie
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
08-02-2007, 11:25 AM
|
#6
|
Member
Registered: Nov 2003
Distribution: Redhat linux 9, Fedra Core 1, Gentoo, Debian (woody), Mandrake 9.2
Posts: 75
Rep:
|
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
>=)
|
|
|
08-03-2007, 05:27 PM
|
#7
|
Member
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387
Rep:
|
Create packages! Have a look at checkinstall (does .deb IIRC). There should be a debian tool to do that as well.
|
|
|
08-05-2007, 05:41 AM
|
#8
|
LQ Newbie
Registered: Jun 2007
Distribution: Ubuntu 7
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
10-21-2007, 03:28 PM
|
#9
|
LQ Newbie
Registered: Oct 2007
Posts: 3
Rep:
|
|
|
|
All times are GMT -5. The time now is 01:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|