How to install the SGE library.

You will need the SGE library for building doraemon.

Download the SGE library from http://www.etek.chalmers.se/~e8cal1/sge/.

Navigate to the directory where you downloaded the SGE library, for example:

bash#  cd /eleague/src/sge

Modify the file in this directory called Makefile.conf as follows. Find the lines that read:
  PREFIX =$(shell sdl-config --prefix)
  CFLAGS =-Wall -O3 -ffast-math
  SGE_LIBS =$(shell sdl-config --libs) #-lstdc++

These should be changed to point to the directory into which you're installing SGE, the include directory for SGE, and the lib directory for SGE, respectively. Since we're installing to the directory /eleague, our script is modified as follows:
  PREFIX=/eleague
  CFLAGS =-Wall -O3 -ffast-math -I/eleague/include
  SGE_LIBS =$(shell sdl-config --libs) -L/eleague/lib #-lstdc++

You can now run:
bash# make config
bash# make shared
bash# make install

The SGE library should now be installed in the directory you specified in the makefile.

back to eleague howto page