Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
Hi Barton I went through the INSTALL file in 2.2.6's tar.gz and there I found the following text! "Please make sure you don't have any old GTK+-2.x, jpeg, etc. libraries lying around on your system, otherwise configure may fail to find the new ones." Only after reading all the tech stuff (and the above) there did I post to the list. Gimp2.2.6 install worked and Gimp also seems to be working fine. However, I will now really do some tests (including the scenarios you mentioned) to make sure the Gimp did install OK. I really want to know how the scenario quoted above can be prevented as downloading all the dependencies is not a problem - the real problem is the potential conflict between the old and the new files. Best regards Asif On 4/20/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Date: Mon, 18 Apr 2005 22:48:01 -0700 From: Barton Bosch <[EMAIL PROTECTED]>To: Owen Cook <[EMAIL PROTECTED]>, Gimp-user@lists.xcf.berkeley.eduSubject: Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3I've been meaning to take another shot at learning how to compilethe gimp from source for a while now. I'm running FC2 which has rpms available for almost all of the requirements and optionalpackages. Unfortunately the atk rpm is version 1.6.0(www.gimp.org/source lists 1.6.1 as required) and the fontconfig rpm is 2.2.1-10 (2.2.2 required)...So, two main questions: 1) is there a way to compile atk andfontconfig in parallel to the already installed rpms (as the gimp 2.2.6 was) and then pass a configure option or edit a script to havegimp use the new versions?; and,
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
Owen Cook wrote: On Mon, 18 Apr 2005, Barton Bosch wrote: So, two main questions: 1) is there a way to compile atk and fontconfig in parallel to the already installed rpms (as the gimp 2.2.6 was) and then pass a configure option or edit a script to have gimp use the new versions?; and, 2) when it became necessary to uninstall the faulty 2.2.6 I found that make clean from the source directory tried to erase files from /usr/local/ rather than /opt where gimp 2.2.6 was actually installed -- is there a way to pass an option to make clean to tell it to remove the gimp from /opt? Are /opt and /home/.gimp-2.2 the only directories (besides the untarred source directory) that need to be manually deleted? There will/should also be files called gimp-2.0.pc gimpui-2.0.pc and gimpthumb-2.0.pc You better find out where these are as if you had two Gimps installed you might be in big trouble as where your gimp-2.2.6 was looking for things. Ok, these files were missing when I first checked but may have been part of the gimp-devel rpm which I did not have installed at the time. My gimp 2.0.5 rpm installation seemed to be working fine but just for the hell of it, I uninstalled and then reinstalled both gimp and gimp-devel 2.0.5. Then I found the gimp*.pc files in /usr/lib/pkgconfig. Have a look there and see if you can psyche out the gimp-2.0.pc matter and search paths. Look back in these archives I think for where you should set the LD_LIBRARY PATH The /usr/lib/pkgconfig/gimp-2.0.pc file shows: libdir=/usr/lib ... gimplibdir=/usr/lib/gimp/2.0 ... Libs: -L${libdir} -lgimp-2.0 -lgimpmath-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 whereas /opt/lib/pkgconfig/gimp-2.0.pc is the same, but with everything preceded by {prefix} (which is set to /opt), e.g.: prefix=/opt exec_prefix=${prefix} libdir=${exec_prefix}/lib What I think might be happening is that your are using the /opt/bin/gimp binary but loading the libraries from your other installation So it seems that this is being set up correctly by ./configure. In running through this again to verify everything before this post to the list, I happened to do the initial run of /opt/bin/gimp-2.2 from the root terminal window that I compiled and installed from rather than from a regular user term. I vaguely remember something like gimp 1.2 needing to be run once as root before regular users could run it. Could the fact that I did not do this last time have caused the malfunctions? Additionally, for this installation I chose not to migrate my user settings and just clicked through all of the user customization options on default. In a brief test I seem to have a functional gimp-2.2.6, or at least have shed the problems that I was experiencing with the prior installation attempt. When I get more time I'll do a more thorough test run, thanks for the help. BTW, if I were to experience problems related to an obsolete atk or fontconfig, how would they be likely to manifest themselves? Barton -- "It is public domain knowledge that has led to creation of specialized knowledge. The issue is that our policymakers have to take into consideration the needs of the common man ie. the public domain as well as the interests of companies. In the US, software patents have been taken to ridiculous lengths - [Yoyodyne Propulsion Systems] owns the patent for single click online shopping so anyone starting a shopping website has to use a system which requires the user to click at least twice." -- DB Phatak ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
Steve Stavropoulos wrote: On 4/17/05, Asif Lodhi wrote: I have managed to get Fedora Core 3 installed on my computer through nightly downloads in around 26 days. But the Gimp version is 2.04. Redhat updated gimp to 2.2 shortly after the release of fedora 3. Your best chance to get this working is to run yum update gimp* This will download and install gimp 2.2.4 and any other software needed. (I _strongly_ suggest to also do a yum update gtk2*) ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user I recommend you download the alternative yum.conf file from fedorafaq.org to get access to some of the faster and better maintained repositories, if you haven't already. If these fail to include an rpm you want, there are a number of rpm databases that can be searched for binaries in other repositories (rpmfind.net, nrpms.net and rpm.pbone.net are a few). Best of all though, do a google search and you'll almost certainly find your package if it exists. In order to do an effective search you'll need to understand the nomencalture of an rpm, but just looking at the names of the files should show you what you need to search for (ie. gimp-2.2.6 .fc3 .rpm). If you can't find an rpm for a popular app like the GIMP, wait around for a couple of days. One's bound to be put out eventually. Anyway, I found an rpm here: http://www.nrpms.net/Packages/fedora-3-i386/production/gimp.html You can try installing it by downloading it to a local directory and typing "rpm -ivh path/to/filename.rpm" at the console. If it throws up dependancy issues and there aren't too many then download those and try again. Try and get them from the standard repos if you can ("yum install dependancy"). Failing that, you can download all the dependancies to your local folder and then add some instructions to the yum.conf file to include it as a repository. You should be able to work out how to do this by studying the contents of that file, it's not very difficult to understand. (Do yourself a favour and back it up before you start editing it, though. Just in case accidentally delete something you didn't want to.) Once you've done this, typing "yum update gimp" should install the rpm and resolve dependancies for you. You should see the local directory be mentioned in the list of searched repositories if you edited the yum.conf file correctly. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005 ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
On Mon, 18 Apr 2005, Barton Bosch wrote: > > I've been meaning to take another shot at learning how to compile > the gimp from source for a while now. I'm running FC2 which has > rpms available for almost all of the requirements and optional > packages. Unfortunately the atk rpm is version 1.6.0 > (www.gimp.org/source lists 1.6.1 as required) and the fontconfig rpm > is 2.2.1-10 (2.2.2 required). > > Seeing how these are quite close and as you mentioned the parallel > /opt configure method, I went ahead and ./configure, make and make > installed. Gimp 2.2.6 did compile without error messages but didn't > function properly. After opening a few jpgs and cropping them, it > saved the first immediately without opening the jpg options dialog, > and on the second and subsequent attempts to save jpgs it hung > (though it did respond to the close button as opposed to requiring a > killall -HUP gimp). > > So, two main questions: 1) is there a way to compile atk and > fontconfig in parallel to the already installed rpms (as the gimp > 2.2.6 was) and then pass a configure option or edit a script to have > gimp use the new versions?; and, 2) when it became necessary to > uninstall the faulty 2.2.6 I found that make clean from the source > directory tried to erase files from /usr/local/ rather than /opt > where gimp 2.2.6 was actually installed -- is there a way to pass > an option to make clean to tell it to remove the gimp from /opt? > Are /opt and /home/.gimp-2.2 the only directories (besides the > untarred source directory) that need to be manually deleted? If there is nothing else in /opt then you can do an rm -rf /opt/* If there is someelse there the have a look in bin/ etc/ include/ lib/ man/ share/ and just rm -rf anything prefixed gimp-2.2 There will/should also be files called gimp-2.0.pc gimpui-2.0.pc and gimpthumb-2.0.pc You better find out where these are as if you had two Gimps installed you might be in big trouble as where your gimp-2.2.6 was looking for things. Does your other Gimp work OK? Have a look there and see if you can psyche out the gimp-2.0.pc matter and search paths. Look back in these archives I think for where you should set the LD_LIBRARY PATH What I think might be happening is that your are using the /opt/bin/gimp binary but loading the libraries from your other installation Owen ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
Owen Cook wrote: On Sun, 17 Apr 2005, Asif Lodhi wrote: OK, go to your gimp-2.2.6 directory type ./configure --help and have a read, even it it means little You will see how to install in another prefix, example ./configure --prefix=/opt will configure so that it is built in /opt I've been meaning to take another shot at learning how to compile the gimp from source for a while now. I'm running FC2 which has rpms available for almost all of the requirements and optional packages. Unfortunately the atk rpm is version 1.6.0 (www.gimp.org/source lists 1.6.1 as required) and the fontconfig rpm is 2.2.1-10 (2.2.2 required). Seeing how these are quite close and as you mentioned the parallel /opt configure method, I went ahead and ./configure, make and make installed. Gimp 2.2.6 did compile without error messages but didn't function properly. After opening a few jpgs and cropping them, it saved the first immediately without opening the jpg options dialog, and on the second and subsequent attempts to save jpgs it hung (though it did respond to the close button as opposed to requiring a killall -HUP gimp). So, two main questions: 1) is there a way to compile atk and fontconfig in parallel to the already installed rpms (as the gimp 2.2.6 was) and then pass a configure option or edit a script to have gimp use the new versions?; and, 2) when it became necessary to uninstall the faulty 2.2.6 I found that make clean from the source directory tried to erase files from /usr/local/ rather than /opt where gimp 2.2.6 was actually installed -- is there a way to pass an option to make clean to tell it to remove the gimp from /opt? Are /opt and /home/.gimp-2.2 the only directories (besides the untarred source directory) that need to be manually deleted? Thanks, Barton -- "All experience hath shown that even under the best forms of government those entrusted with power have in time and by slow operations perverted power to tyranny, and it would seem that the best means of preventing this would be, insofar as practicable, to enlighten the minds of the public at large." -- Thomas Jefferson ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3 (Re: Gimp-user Digest, Vol 31, Issue 22)
On 4/18/05, Asif Lodhi wrote: > Thanks for the help, Owen. I did exactly as you advised and 2.2.6 is > running on my system now. However, I am afraid I might get into run-time > errors. If ./configure said it's ok, then it's ok. Don't be afraid. Enjoy your new gimp :) > I have not yet tried the "yum update" method recommended by Steve as > running configure with a different "prefix" did work. You should at least run yum update gtk2* to avoid severe speed problems when opening an image. yum will download the relevant binary rpms from redhat with all their dependencies and install them. yum update gimp-* will install the latest redhat update for gimp (2.2.4, but I guess soon there will be a 2.2.6 there...). With yum you can keep your system updated and I advise you to do so. > Is it safe to carry out a "yum update" exercise from root? Or, can I also > do it from a normal user account? > yum update will install the relevant updates (issued by redhat) for your machine. It will work only if you are root. ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3 (Re: Gimp-user Digest, Vol 31, Issue 22)
-- On Mon, 18 Apr 2005, Asif Lodhi wrote: > Thanks for the help, Owen. I did exactly as you advised and 2.2.6 is running > on my system now. However, I am afraid I might get into run-time errors. If > this is not the case then why are there so many precautionary > dependency-related instructions in the INSTALL file that comes bundled with > the tar.gz? I would like to know what trade-offs I made by not following the > instructions given in the INSTALL doc and installing the gimp 2.2.6 without > installing any of the latest packages (from sources) mentioned in INSTALL. If it installed and is working, don't worry about the latest and greatest. Normally the Gimp team will tell you when an upgrade is mandatory. > > I have not yet tried the "yum update" method recommended by Steve as running > configure with a different "prefix" did work. I visited Red Hat's website > page listing the gimp binaries once again but there are no 2.2.6 binaries > over there. May be the "yum update" method downloads the relevant sources to > your machine, analyzes all the dependencies and configure/make/make_installs > all the files over the Internet. Any comments? > > Is it safe to carry out a "yum update" exercise from root? Or, can I also do > it from a normal user account? Sorry I have no idea about fedora, and presumeably yum update is an automatic update procedure from Red Hat. If Gimp is working now my gut feeling is to leave well alone. However my guess yum updating libraries like GTK wont break your gimp. Owen ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3 (Re: Gimp-user Digest, Vol 31, Issue 22)
Thanks for the help, Owen. I did exactly as you advised and 2.2.6 is running on my system now. However, I am afraid I might get into run-time errors. If this is not the case then why are there so many precautionary dependency-related instructions in the INSTALL file that comes bundled with the tar.gz? I would like to know what trade-offs I made by not following the instructions given in the INSTALL doc and installing the gimp 2.2.6 without installing any of the latest packages (from sources) mentioned in INSTALL. I have not yet tried the "yum update" method recommended by Steve as running configure with a different "prefix" did work. I visited Red Hat's website page listing the gimp binaries once again but there are no 2.2.6 binaries over there. May be the "yum update" method downloads the relevant sources to your machine, analyzes all the dependencies and configure/make/make_installs all the files over the Internet. Any comments? Is it safe to carry out a "yum update" exercise from root? Or, can I also do it from a normal user account? Thanks and best regards Asif On 4/18/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Send Gimp-user mailing list submissions to gimp-user@lists.xcf.berkeley.eduDate: Sun, 17 Apr 2005 09:42:05 +1000 (EST)From: Owen Cook < [EMAIL PROTECTED]>To: gimp-user@lists.xcf.berkeley.eduCc: Asif Lodhi <[EMAIL PROTECTED]>Subject: Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3 OK, go to your gimp-2.2.6 directorytype ./configure --help and have a read, even it it means little You will see how to install in another prefix, example./configure --prefix=/opt will configure so that it is built in /opt If it doesn't work, you wont harm anything, so you have little to loseHTHOwen--Date: Sun, 17 Apr 2005 06:32:53 +0300From: Steve Stavropoulos < [EMAIL PROTECTED]>To: Asif Lodhi <[EMAIL PROTECTED]>Cc: gimp-user@lists.xcf.berkeley.eduSubject: Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3Redhat updated gimp to 2.2 shortly after the release of fedora 3. Yourbest chance to get this working is to run yum update gimp* This willdownload and install gimp 2.2.4 and any other software needed. (I _strongly_ suggest to also do a yum update gtk2*)--
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
On 4/17/05, Asif Lodhi wrote: > I have managed to get Fedora Core 3 installed on my computer through > nightly downloads in around 26 days. But the Gimp version is 2.04. Redhat updated gimp to 2.2 shortly after the release of fedora 3. Your best chance to get this working is to run yum update gimp* This will download and install gimp 2.2.4 and any other software needed. (I _strongly_ suggest to also do a yum update gtk2*) ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.2.6 on Fedora Core 3
On Sun, 17 Apr 2005, Asif Lodhi wrote: > > I have managed to get Fedora Core 3 installed on my computer through nightly > downloads in around 26 days. But the Gimp version is 2.04. I can't find > binaries on RedHat's website (Even if I found and downloaded a 2.2.6 binary, > would I still be able to run it?). As a last resort, I downloaded > gimp2.2.6sources but after reading a very long list of source packages > in the INSTALL > doc that 2.26 depends on, I have gave up. It's because I read that you have > to have a different prefix if you want to install it parallel to your > existing gimp installation. What is meant by Prefix? Further, even if I > download all the files, that the gimp depends on, can I build them on my > Fedora Core 3 parallel to the equivalent older versions already installed? > It would be great if I could get 2.2.6 running with minimum hassle. I > receive gimp-user list messages in an email-digest form so my replies won't > be that frequent. OK, go to your gimp-2.2.6 directory type ./configure --help and have a read, even it it means little You will see how to install in another prefix, example ./configure --prefix=/opt will configure so that it is built in /opt When you press 'Enter' the program will start configuring. If you are missing any dependencies, it will stop with an error message. Read the error message and see if you can determine what is missing or out of date. You may have newer rpms (or whatever fedora uses) that you can use to upgrade. After you have all the dependencies, configure will run to the end. Then you typemake When make is done, type su -c 'make install' and that will install the program in /opt The executable will be /opt/bin/gimp (which will be symlinked to /opt/bin/gimp-2.2) If it doesn't work, you wont harm anything, so you have little to lose HTH Owen ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Gimp 2.2.6 on Fedora Core 3
Hi all I have managed to get Fedora Core 3 installed on my computer through nightly downloads in around 26 days. But the Gimp version is 2.04. I can't find binaries on RedHat's website (Even if I found and downloaded a 2.2.6 binary, would I still be able to run it?). As a last resort, I downloaded gimp2.2.6 sources but after reading a very long list of source packages in the INSTALL doc that 2.26 depends on, I have gave up. It's because I read that you have to have a different prefix if you want to install it parallel to your existing gimp installation. What is meant by Prefix? Further, even if I download all the files, that the gimp depends on, can I build them on my Fedora Core 3 parallel to the equivalent older versions already installed? It would be great if I could get 2.2.6 running with minimum hassle. I receive gimp-user list messages in an email-digest form so my replies won't be that frequent.Thanks in advanceAsif