Download required packages
Debian \ Ubuntu
Launch a terminal, and paste in this command:
sudo apt-get install subversion autoconf automake make g++ libxml2 libxml2-dev libxml++2.6-dev lua5.1 liblua5.1-0 liblua5.1-0-dev libboost-dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libmysql++-dev libgmp3-dev liblua5.1-sql-mysql2 liblua5.1-sql-sqlite2 liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite-dev libsqlite3-dev
wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_0_3_9.tar.gz
tar -xf boost_asio_0_3_9.tar.gz
sudo cp -ar boost_asio_0_3_9/boost/* /usr/include/boost/
sudo g++ boost_asio_0_3_9/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a
sudo: command not found
If you're running Debian it's possible that you don't have sudo,
if that's the case then you can run 'su' and you will have root
access. Then execute the commands without 'sudo' in the beginning.
Download sources
Launch a terminal, and paste in this command:
svn co https://forgottenserver.svn.sourceforge.net/svnroot/forgottenserver/forgottenserver/tags/0.2/
Compiling
Launch a terminal, and type this command:
cd 0.2/ && make
Linker error
If you receive a linker error which name 'libboost', paste in this command and try to compile again:
ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so && ln /usr/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a && ln /usr/lib/libboost_thread-mt.so /usr/lib/libboost_thread.so && ln /usr/lib/libboost_thread-mt.a /usr/lib/libboost_thread.a