Difference between revisions of "Building the GIMP"

From Earlham CS Department
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Here's some basic instructions for building the [http://www.gimp.org the GIMP] from source on the clusters using the bash shell:
 
Here's some basic instructions for building the [http://www.gimp.org the GIMP] from source on the clusters using the bash shell:
  
 +
# Make sure CVS is set to use ssh as its transport: <tt>export CVS_RSH=ssh</tt>
 
# Set your CVSROOT to quark: <tt>export CVSROOT=:ext:$USER@cs.earlham.edu:/clients/users/cvs</tt>
 
# Set your CVSROOT to quark: <tt>export CVSROOT=:ext:$USER@cs.earlham.edu:/clients/users/cvs</tt>
 
# Checkout the source tree: <tt>cvs co gimp-pd</tt>
 
# Checkout the source tree: <tt>cvs co gimp-pd</tt>
 
# Enable support for distcc: <tt>export CC=distcc; export CCX=distcc</tt>
 
# Enable support for distcc: <tt>export CC=distcc; export CCX=distcc</tt>
 +
# Set the distcc hosts you want to use: <tt>export DISTCC_HOSTS="host list"</tt>. For cairo, this would look like <tt>export DISTCC_HOSTS="c11 c12 c13 c14"</tt>
 
# cd into the source tree and run configure like so: <tt>./configure --prefix=$HOME/cluster-name/gimp-pd</tt>. You can add <tt>--enable-mp</tt> if the cluster you are running is SMP.
 
# cd into the source tree and run configure like so: <tt>./configure --prefix=$HOME/cluster-name/gimp-pd</tt>. You can add <tt>--enable-mp</tt> if the cluster you are running is SMP.
 
# Run make: <tt>make -j''n'' CC=distcc</tt>, where ''n'' is twice the number of processors available.
 
# Run make: <tt>make -j''n'' CC=distcc</tt>, where ''n'' is twice the number of processors available.
 
# After the make is done, run <tt>make install</tt> to install it in your home directory.
 
# After the make is done, run <tt>make install</tt> to install it in your home directory.

Latest revision as of 01:15, 12 April 2005

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

  1. Make sure CVS is set to use ssh as its transport: export CVS_RSH=ssh
  2. Set your CVSROOT to quark: export CVSROOT=:ext:$USER@cs.earlham.edu:/clients/users/cvs
  3. Checkout the source tree: cvs co gimp-pd
  4. Enable support for distcc: export CC=distcc; export CCX=distcc
  5. 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"
  6. 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.
  7. Run make: make -jn CC=distcc, where n is twice the number of processors available.
  8. After the make is done, run make install to install it in your home directory.