LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-05-2003, 08:08 PM   #1
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
replacing gtk+-1.2.9 with gtk+-1.2.10


When configuring gqview-1.2.2 it said I needed gtk+-1.2.10 or greater for it to work. I have gtk+-1.2.9 installed. My question is what would be the best way to upgrade to gtk+-1.2.10?
 
Old 03-06-2003, 10:34 AM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
what distro are you using? That information is needed to answer your question.

I mean for example, if you're using mandrake, you could use RPM or URPMI....or if you're in Debian, then apt-get might do the trick...
 
Old 03-06-2003, 06:44 PM   #3
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
i'm using lfs 3.1. i'm not sure if i should rm the old gtk and add a link to the new gtk. just not sure how to do this?
 
Old 03-07-2003, 09:14 AM   #4
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
One of LFS's pitfuls is the implementation of package management.

I don't know if you could simply install a newer version of Gtk over the top of an existing one - you may find it would be okay because 'make install' would simply over write any files that already existed - but I believe it is the ones which do not get over written which could be the problem - the legacy files which may conflict.

One option would be to use something called install-log (see the hints at the LFS website). You run it after every program you install, and it keeps a log of all non-configuration files (i.e libraries, headers, executables) for that program. You could install 'install-log' - re-install Gtk 1.2.9 so that you know which files have been installed - run install-log to track all the Gtk installed files - then you should be able to remove them and install 1.2.10. Just an idea - the install-log hint gives a better description.

Check on the LFS mailing lists for more info as I think that is still very active.
 
Old 03-07-2003, 06:08 PM   #5
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
thanks CragStar i'll try both sugestions then post back here.

Last edited by 62chevy; 03-07-2003 at 06:09 PM.
 
Old 03-10-2003, 06:33 PM   #6
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
the README and INSTALL files said to remove the old gtk-1.2 and gdk directories in /usr/include but nothing else. so thats all i did. gqview seems to work fine but gnome-commander locks-up now and then. i didn't install FAM so don't know if that might be the problem???? i'll try recompiling it then see what happens.
 
Old 03-12-2003, 06:57 PM   #7
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
i recieved many replies from the mailing list at linuxfromscratch.org saying it was fine leaving the two gtk+ libs there. after installing FAM to solve the lock-up of gnome-commander didn't work. it freezes more now. i uninstalled them and will look for sominthing else. any idea's?
 
Old 03-13-2003, 11:08 AM   #8
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I have been reading the thread on the BLFS Support mailing list regarding gtk-1.2.10 and gtk2 it looked like. Was this you? GTK1 and GTK2 are different and were designed to run side by side, but 1.2.10 and 1.2.9 are from the same development arm (GTK1) and so I don't really know if they can be run over the top of each other - but correct me if I'm wrong!

As far as lock ups go the way you can really solve problem is by working out what you have to do to lock it up - i.e is it repeatable everytime? Check the logs in /var/logs to see if anything is not right with something, although with a lock up I doubt you will find much.

Apart from that, drastically you could re-install LFS. Although this is a drastic measure at the moment it is something that can happen with LFS.

BTW - if your looking for a file manager try gentoo (not the distro!) It is easy to install, lightweight and very functional.
 
Old 03-13-2003, 07:17 PM   #9
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
yes that was my post on blfs-support. my question was about gtk+-1.2.9 and gtk+-1.2.10. i had the impresion that all gtk+'s as they are very stable. been about 3 days now with both -1.2.9 and -1.2.10 together, but gnome commander locked-up with the first run.
i downloaded gentoo and love it. it's stable and very easy to use .

thanks CragStar
 
  


Reply



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
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
GTK error when starting gtk-chtheme Dswissmiss Linux - Software 1 10-01-2004 11:53 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:40 PM.

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