LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issue w GLIB when upgrading GTK (https://www.linuxquestions.org/questions/linux-newbie-8/issue-w-glib-when-upgrading-gtk-566877/)

arif_moin 07-05-2007 11:40 AM

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

b0uncer 07-05-2007 01:45 PM

"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.

arif_moin 07-14-2007 02:39 PM

Solution: Switched distro
 
Thanks for the reply bro.

After some serious :study: 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).

tbutts 07-26-2007 10:57 AM

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!

arif_moin 07-28-2007 09:08 AM

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

pyre 08-02-2007 10:25 AM

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
>=)

General Failure 08-03-2007 04:27 PM

Create packages! Have a look at checkinstall (does .deb IIRC). There should be a debian tool to do that as well.

arif_moin 08-05-2007 04:41 AM

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.

Cryo2010 10-21-2007 02:28 PM

This may help:

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


All times are GMT -5. The time now is 06:30 PM.