[ Bloke.com || Linux || JavaScript || Java || Volleyball || Link Me ]
Free: [ Guestbook || MessageBot || Plugins || Counter || AusPrices || Advertise ]
www.bloke.com

Home - Linux - Gimp - Build

Building Gimp 1.3.x

These instructions where made when I built gimp 1.3.14 on a Red Hat 7.3 machine. First, download all of the following. Save them all in a directory and unpack them using either
bzip2 -d < file.tar.bz2 | tar xvf -
or
tar -xvfz file.tar.gz
e.g.
tar xvfz pkgconfig-0.15.0.tar.gz
Now the build instructions. Here, the order is fairly important. If you get an error, possibly you have not installed a required library (or in the wrong order), or your environmental variables are not correct. Notice that I've installed almost everything into /usr/local, this is because I already have gimp 1.2.x and other things installed in the regular places and i want to run them too. You may find there are other dependencies that there are missing. If so, let me know.
# Build pkgconfig
cd pkgconfig-0.15.0
#I decide to install this on the system (ie in /usr rather than /usr/local)
./configure --prefix=/usr
make
su 
make install
exit

# build glib (I'm putting all the new stuff into /usr/local)
cd ../glib-2.2.1
./configure --prefix=/usr/local
make
su
make install
exit

#need to tell pkg-config to look in /usr/local/ for these new libraries
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
#need to also tell it where to find the new libraries.
export LD_LIBRARY_PATH=/usr/local/lib
#ensure /usr/local/bin is in your path
# do the line below or add to your .bashrc file (or whatever)
export PATH=/usr/local/bin:$PATH


#install fcpackage (contains Xft)
cd ../fcpackage.2_1/fontconfig
make
su
make install
exit
cd ../Xft
./configure --prefix=/usr/local
make
su
make install
exit
cd ..


#install freetype2
cd ../freetype-2.1.4
./configure --prefix=/usr/local
make
su
make install
exit

#install pango
cd ../pango-1.2.1
./configure --prefix=/usr/local
make
su
make install
exit

#install atk
cd ../atk-1.3.0
./configure --prefix=/usr/local
make
su
make install
exit

#install gtk
cd ../gtk+-2.2.1
./configure --prefix=/usr/local
make
su
make install
exit

#install libart
cd ../libart_lgpl-2.3.3
./configure --prefix=/usr/local
make
su
make install
exit

#install gimp-print
cd ../gimp-print-4.2.5
./configure --prefix=/usr/local
make
su
make install
exit




#install gimp
cd ../gimp-1.3.14
./configure --prefix=/usr/local
make
su
make install
exit

#This is needed so that gimp (fontconfig) can find the fonts.
su
fc-cache -v 

Problems Encountered

  • Fonts not working. fontconfig complained about not being able to find fonts and that I might need to modify fonts.conf, but the real problem was that I forgot to install freetype for use with pango (and I didn't know to run fc-cache -v (as root)) (note that gimp built and ran just fine, it wasn't till I tried to use the text tool). Error was:
    No fonts found; this probably means that the fontconfig
    library is not correctly configured. You may need to
    edit the fonts.conf configuration file. More information
    about fontconfig can be found in the fontconfig(3) manual
    page and on http://fontconfig.org
    

    Build with gimp-print

    I used
    ./configure --with-cups --with=-gimp
    
  • Gimp print files

    Links

    Last Change: Monday, 10-Jan-2005 07:41:14 EST

    Disclaimer

    The information provided within these pages is provided AS IS, and without any warranty. Following these directions may (but not limited to) crash your computer, delete all the information on your hard disk, open up security holes or cause your house to burn down. I made these pages to provide some information about the setup that I have done, but I did not proofread it for correctness, and in most cases did not test it. There are commands in these pages that would definately delete or corrupt all the data on your computer (especially the dualboot section). In fact it happened to me.... So you are on your own!


    Cameron Gregory