SLUDGE

Compiling SLUDGE on Debian/Ubuntu


There are generic instructions how to compile SLUDGE in the INSTALL file which is included in the source archieve. The following instructions describe the installation of SLUDGE on Debian or Ubuntu a little bit more detailed. If you keep in mind that other distributions may have other ways to gain root privileges (than sudo, use su on Debian), other packaging management tools (than apt-get) and other package names, these instructions should help you installing SLUDGE on any Linux distribution.

Dependencies

First you have to make shure that a graphics driver with 3D acceleration is installed.

Then install the following dependencies from the repositories:

Package list for copying:

sudo apt-get install build-essential cmake glee-dev libsdl1.2-dev libglu1-mesa-dev libpng12-dev libopenal-dev libvorbis-dev libflac-dev libdumb1-dev libvpx-dev

The additional dependencies for the Dev Kit:

sudo apt-get install libgtk2.0-dev libgtkglext1-dev

GLee

GLee is available in the Ubuntu repositories only since Ubuntu 10.10 Maverick Meerkat. For older Ubuntu versions the packages libglee0d1 and glee-dev have to be downloaded for the fitting architecture and installed in this order.

Alure 1.1

Alure 1.1 has to be downloaded from the project page and installed manually, because version 1.0, which is included in Debian and Ubuntu, doesn't feature all functions needed by SLUDGE.

After extracting the archieve, change to the build directory

cd path/to/alure-(version)/build

and run the configuration:

cmake ..

Make sure that cmake found and activated Vorbis, FLAC and DUMB. Then compile and install Alure:

make

sudo make install

Then update the cache of the run-time linker to make sure Alure is found when running the SLUDGE Engine:

sudo ldconfig

Installing SLUDGE

Now it's time to download the SLUDGE source archieve from the SourceForge project page and extract, compile und install the program.

cd path/to/sludge-(version)

./configure # install only the Engine # or ./configure --enable-devkit # install Engine and Dev Kit

make

sudo make install

See also:

Using the SLUDGE Engine on Linux

Using the SLUDGE Dev Kit on Linux