Kompiluję serwer tibii według tego poradnika:
I do tej pory wszystko działa aż do wpisania:1. On the begining, you need to update your packets database, then upgrade your operating system.
Kod: Zaznacz cały
apt-get update
If update fails, you have to increase apt cache size. To do it, perform following actions:Kod: Zaznacz cały
apt-get upgrade
Kod: Zaznacz cały
cd /etc/apt
and paste there:Kod: Zaznacz cały
pico apt.conf
Now press F2 to close Nano and answer YES/NO to save the file.Kod: Zaznacz cały
APT::Cache-Limit "125829120";
2. Now you have to install some (maybe even alot of them ) packets.f your apt says some packages are missing, make sure you have set repositories in /etc/sources.list. After you fix things around (distribution-independent), perform again step 1.Kod: Zaznacz cały
apt-get install libboost1.41-dev libboost-system1.41-dev libboost-filesystem1.41-dev libboost-date-time1.41-dev libboost-regex1.41-dev libboost-thread1.41-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev libcrypto++8
3. Ok, you have installed everything required to compile- easy, huh? Now you may do 'the job'.
Kod: Zaznacz cały
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.5pl1 mv 0.3.5pl1 source mkdir forgottenserver mv source forgottenserver cd forgottenserver
Kod: Zaznacz cały
./autogen.sh
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
Kod: Zaznacz cały
./autogen.sh
Kod: Zaznacz cały
-bash: ./autogen.sh: No such file or directory
Już mało mi zostało do kompilowania tylko te trzy polecenia:
Kod: Zaznacz cały
./autogen.sh
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
make