This file is indexed.

/usr/share/doc/sludge/SLUDGELinuxHelp/Compiling_SLUDGE_on_Ubuntu.html is in sludge-doc 2.1.2-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<TITLE>Compiling SLUDGE on Debian/Ubuntu</TITLE>
  <link rel="stylesheet" type="text/css" href="../SLUDGEDevKitHelp/style.css" />
</head>
<BODY>
<HR>
<div align="center"><img id="headerGraphic" src="../SLUDGEDevKitHelp/images/sludge300.png" alt="SLUDGE"/></div>
<h2>Compiling SLUDGE on Debian/Ubuntu</h2>
<HR>

There are generic instructions how to compile SLUDGE in the <strong>INSTALL</strong> 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.

<h3>Dependencies</h3>

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

<p>Then install the following dependencies from the repositories:
</p>

<p><ul>
<li><strong>build-essential</strong> (compilers and build tools)</li>
<li><strong>glee-dev</strong> (in Ubuntu available since 10.10, see <a href="#glee">below</a>)</li>
<li><strong>libalure-dev</strong> (>= 1.1, in Debian available since Wheezy, in Ubuntu available since 11.10, see <a href="#alure">below</a>)</li>
<li><strong>libsdl1.2-dev</strong></li>
<li><strong>libglu1-mesa-dev</strong></li>
<li><strong>libpng12-dev</strong></li>
<li><strong>libopenal-dev</strong></li>
<li><strong>libvorbis-dev</strong></li>
<li><strong>libflac-dev</strong></li>
<li><strong>libdumb1-dev</strong></li>
<li><strong>libvpx-dev</strong></li>
<li><strong>xdg-utils</strong></li>
<li><strong>libgtk2.0-dev</strong> (only needed for the Dev Kit)</li>
<li><strong>libgtkglext1-dev</strong> (only needed for the Dev Kit)</li>
</ul>
</p>

<p>Package list for copying:</p>

<p><div class="bash">sudo apt-get install build-essential glee-dev libalure-dev libsdl1.2-dev libglu1-mesa-dev libpng12-dev libopenal-dev libvorbis-dev libflac-dev libdumb1-dev libvpx-dev xdg-utils</div></p>

<p>The additional dependencies for the Dev Kit:</p>

<p><div class="bash">sudo apt-get install libgtk2.0-dev libgtkglext1-dev </div></p>

<h3 id="glee">GLee</h3>
<p>GLee is available in the Ubuntu repositories only since Ubuntu 10.10 Maverick Meerkat. For older Ubuntu versions the packages <a href="http://packages.ubuntu.com/maverick/libglee0d1" rel="nofollow"><strong>libglee0d1</strong></a> and <a href="http://packages.ubuntu.com/maverick/glee-dev" rel="nofollow"><strong>glee-dev</strong></a> have to be downloaded for the fitting architecture and installed in this order.</p>

<h3 id="alure">Alure >= 1.1</h3>
<p>Alure >= 1.1 is available in the Debian repositories starting from Wheezy and in the Ubuntu repositories since Ubuntu 11.10 Oneiric Ozelot. For older Debian/Ubuntu versions the packages <a href="http://packages.debian.org/wheezy/libalure1" rel="nofollow"><strong>libalure1</strong></a> and <a href="http://packages.debian.org/wheezy/libalure-dev" rel="nofollow"><strong>libalure-dev</strong></a> have to be downloaded for the fitting architecture and installed in this order.</p>

<h3>Installing SLUDGE</h3>

<p>Now it's time to download the SLUDGE source archieve from <a href="http://sourceforge.net/projects/opensludge">the SourceForge project page</a> and extract, compile und install the program.</p>

<p><div class="bash">cd path/to/sludge-(version) </div></p>
<p><pre><div class="bash">./configure                     # install only the Engine
                                # or
./configure --enable-devkit     # install Engine and Dev Kit</div></pre></p>
<p><div class="bash">make</div></p>
<p><div class="bash">sudo make install</div></p>

<h3>Getting the latest development version</h3>

<p>In order to get the latest bugfixes, it can sometimes be necessary to install the latest development version. This requires that the packages <strong>subversion</strong> and <strong>automake</strong> are installed.</p>

<p>The code can be checked out using:</p>

<p><div class="bash">svn co https://opensludge.svn.sourceforge.net/svnroot/opensludge opensludge</div></p>

<p>Before SLUDGE can be compiled as described above, the <strong>configure</strong> script has to be generated using the <strong>autogen.sh</strong> script:</p>

<p><div class="bash">cd opensludge</div></p>
<p><div class="bash">./autogen.sh</div></p>

<h3>See also:</h3>

<p><a href="Using_the_SLUDGE_Engine_on_Linux.html">Using the SLUDGE Engine on Linux</a></p>
<p><a href="Using_the_SLUDGE_Dev_Kit_on_Linux.html">Using the SLUDGE Dev Kit on Linux</a></p>

<P class="copyright-notice">SLUDGE and this SLUDGE documentation are <A HREF="../SLUDGEDevKitHelp/Copyright.html">copyright</A> Hungry Software and contributors 2000-2011
</P>
<HR>
</BODY>
</html>