Building the GIMP

From Earlham CS Department
Revision as of 14:55, 11 April 2005 by Skylar (talk | contribs)
Jump to navigation Jump to search

Here's some basic instructions for building the the GIMP from source on the clusters using the bash shell:

  1. Set your CVSROOT to quark: export CVSROOT=:ext:$USER@cs.earlham.edu:/clients/users/cvs
  2. Checkout the source tree: cvs co gimp-pd
  3. Enable support for distcc: export CC=distcc; export CCX=distcc
  4. Set the distcc hosts you want to use: export DISTCC_HOSTS="host list". For cairo, this would look like export DISTCC_HOSTS="c11 c12 c13 c14"
  5. cd into the source tree and run configure like so: ./configure --prefix=$HOME/cluster-name/gimp-pd. You can add --enable-mp if the cluster you are running is SMP.
  6. Run make: make -jn CC=distcc, where n is twice the number of processors available.
  7. After the make is done, run make install to install it in your home directory.