Difference between revisions of "Building the GIMP"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
# 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. |
Revision as of 14:55, 11 April 2005
Here's some basic instructions for building the the GIMP from source on the clusters using the bash shell:
- Set your CVSROOT to quark: export CVSROOT=:ext:$USER@cs.earlham.edu:/clients/users/cvs
- Checkout the source tree: cvs co gimp-pd
- Enable support for distcc: export CC=distcc; export CCX=distcc
- 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"
- 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.
- Run make: make -jn CC=distcc, where n is twice the number of processors available.
- After the make is done, run make install to install it in your home directory.