Saturday, May 22, 2010

Got a linux system, trying to compile and install GIMP from source...?

I'm a Linux newbie, and I'm running YellowDog 5.1 on a classic iMac (fedora core, i think). I've already got GIMP, but I wanted the newer version, a)because I'm stupid, b)because I always have to have the newest, shiniest things (heh, heh), c)because I thought I could blow off a weekend learning how to compile things for linux from their source code.





Like I said, I'm an idiot.





Unfortunately for me, GIMP 2.4 has all sorts of dependencies, such as an updated version of the GTK, which depends on GLIB and Pango and ATK and God only knows what else...





So, to make a long story short, I tried to compile all the dependent packages first (from their source tarballs). Unfortunately, Pango and the others (which are supposed to be installed subsequently to GLIB) won't believe that I have GLIB 2.14 installed (they think I've got version 2.10).





What the hell am I doing wrong???

Got a linux system, trying to compile and install GIMP from source...?
Ubuntu Linux is a fake distro. It is legal to still open source software and rename it since it's open source. But doesn't not mean that it's a good thing. Ubuntu is packages taken from Debian Linux and renamed with the Ubuntu name at the end. Of course most Ubuntu people are newbies and will deny this but all patches, bug reports and so on from Ubuntu are lifted directly from Debian. Even the change logs are Debian. You should keep this in mind. If you use a clone or hack you will get second hand support. If you want to use a Debian based distro I would suggest that you use Debian and give them the credit they deserve.





First off if you want the latest version of Gimp for your yellow dog. Check to make sure they don't have a dev or testing tree that the new version of Gimp is already in.





Second make sure you have a development environment installed. make patch linux headers and source and so on.





And if you are trying to update the requirments though your package manager, make sure you use update so it removes the old versions also yellow dog may break the package up into lib dev and so on. So there may be more then one package for glib one may be glib-lib glib-dev and so on. You will need the dev versions because they have the headers so you can compile against them. And make sure the old versions are not on the system anymore. This is what you are having trouble with. It's finding header files from your old versions.





Gimp requirements with the devs aswell.:


your kernel source.


aalib


alsa-lib


atk


bzip2


cairo


coreutils


curl


cyrus-sasl


dbus


dbus-glib


e2fsprogs


expat


fontconfig


freetype


gcc


glib2


gpm


gtk+2


hal


lcms


libICE


libSM


libX11


libXau


libXcomposite


libXcursor


libXdamage


libXdmcp


libXext


libXfixes


libXinerama


libXmu


libXpm


libXrandr


libXrender


libXt


libart-lgpl


libexif


libgsf


libgtkhtml


libidn


libjpeg


libmng


libpng


librsvg


libwmf


libxcb


libxml2


ncurses


openldap


openssl


pango


poppler


python


slang


tiff


zlib





I run Myah OS. Don't listen to those newbies about Ubuntu or yum. If you are happy with your yellow dog and need help and can't find it on there site feel free to ask at http://forum.myah.org I will be happy to give you basic help on how to compile and trouble shoot generic linux problems.
Reply:I am no expert on yello dog but I would say the big mistake is not running a ubuntu based distro or anythin more mainstreeam then what ya got if your hardwaare will support it life will be tons easier the days of compiling and comand line entry are quickly sliping away unless of course you realy want to do tings that way in witch case the more power to ya I like easy


linux mint for me
Reply:Unless you are just compiling from source to learn how. Use the YUM package manager. I'm sure GIMP is in the repositories. I don't know a lot about yellow dog but i know that installing programs is generally pretty easy as long as you use the repositories of the distro. I'm sure there should be plenty of help online for the package manager. The package manager should download and install all the dependencies.


No comments:

Post a Comment