• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Compile OTServ under Debian 5.0 (Lenny)

Trojoka

Member
Joined
May 9, 2009
Messages
305
Reaction score
9
Location
Germany
Create the Source Directory

Start of by creating a directory for our source and navigate to it. In this tutorial we'll use the directory '~/sources/OpenTibia/OTServ'.
Code:
mkdir -p ~/sources/OTServ
cd ~/sources/OTServ

Downloading the Source

In this tutorial we'll download OTServ trunk which is not considered to be stable but works very well most of the time.
First we need to install SVN to download the source.
Code:
su
apt-get install subversion
exit

Install Packages

Now we'll install most packages needed to compile OTServ using apt-get. The list of packages below is not a full list of packages needed to co.mpCompiling the Sourceile OTServ but all packages should be dependencies of these and be installed automatically.
To use apt-get we first need to use su.
Code:
su
apt-get install autoconf libxml2-dev liblua5.1-0-dev g++ libgmp3-dev libboost1.35-dev make
exit

Compiling the Source

Compile with MySQL Support

Install libmysqlclient15-dev and compile the source with MySQL enabled.
Code:
su
apt-get install libmysqlclient15-dev
exit
./autogen.sh
./configure --enable-mysql
make

Compile with PostreSQL Support

Install libpq-dev and compile the source with PostgreSQL enabled.
Code:
su
apt-get install libpq-dev
exit
./autogen.sh
./configure --enable-pgsql
make

Compile with SQLite Support

Install libsqlite3-dev and compile the source with SQLite enabled.
Code:
su
apt-get install libsqlite3-dev
exit
./autogen.sh
./configure
make

//trojoka
 
nice copy paste tutorial xD, hell you forget to download the sources xddd ?
 
Back
Top