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... |
"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 |
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). |
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! |
Quote:
Sorry man, that's the best I can tell you for now... |
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 >=) |
Create packages! Have a look at checkinstall (does .deb IIRC). There should be a debian tool to do that as well.
|
Quote:
|
|
All times are GMT -5. The time now is 10:31 AM. |