Build instructions for GEM Linux
================================

Prerequisites for compiling GEM (version 0.79):

Mesa       ftp://iris.ssec.wisc.edu/pub/Mesa/
GLUT       http://reality.sgi.com/mjk_asd/glut3/glut-3.6.tar.gz
tiff       ftp://ftp.sgi.com/graphics/tiff/tiff-v3.4beta037-tar.gz
freetype   ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/
gltt       http://home.worldnet.fr/~rehel/gltt/gltt.html
jpeg       ftp://ftp.uu.net:graphics/jpeg/

On a Debian system these library are already in your distribution.
For other distributions you may have a look which ones are there
and download and install the other ones.

Some libraries which are not that common are distributed with this
package. You have to build them first with the 




#> ./makeauxlibs

command in the src/Gnu directory. 

If this suceeds, the next step is 

#> ./configure

followed by a 

#> make

This should build Gem.pd_linux in the gem root directory.

The configure scripts tries to figure out several things. An important one is the
location of the pd header file "m_pd.h".

You can put m_pd.h into any place within gem (suggested is the src/Base directory),
or have your pd source tree reside beside the gem source tree. Take care that there is
only one m_pd.h there, otherwise it is possible that the script finds the wrong one.
(having two different pd versions in the same directory may cause this problem).


To test Gem (you need to have pd installed) 

#> cd ../..
#> pd -lib Gem


Other:

"make distclean" removes all traces from a build.
"make clean" removes the object files
"make depend" creates a dependency file

"makeauxlibs clean" cleans up the auxilliary libraries

Report any failures to <geiger@debian.org>


Guenter




