• 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 [Linux] Ultimate compile guide for Debian (Ubuntu included)

Code:
apt-get install autoconf automake make g++
Code:
sh autogen.sh
./configure --enable-mysql
make

When i do what you told i have thats warnings :

Code:
root@Bvbb:~/forgottenserver# sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:3: installing `./install-sh'
configure.ac:3: installing `./missing'
Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
root@Bvbb:~/forgottenserver# ./configure --enable-mysql
configure: error: cannot find sources (account.cpp) in . or ..
root@Bvbb:~/forgottenserver# make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
root@Bvbb:~/forgottenserver# sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
root@Bvbb:~/forgottenserver# ./configure --enable-mysql
configure: error: cannot find sources (account.cpp) in . or ..
root@Bvbb:~/forgottenserver# make
 
When i do what you told i have thats warnings :

Code:
root@Bvbb:~/forgottenserver# sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:3: installing `./install-sh'
configure.ac:3: installing `./missing'
Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
root@Bvbb:~/forgottenserver# ./configure --enable-mysql
configure: error: cannot find sources (account.cpp) in . or ..
root@Bvbb:~/forgottenserver# make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
root@Bvbb:~/forgottenserver# sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
root@Bvbb:~/forgottenserver# ./configure --enable-mysql
configure: error: cannot find sources (account.cpp) in . or ..
root@Bvbb:~/forgottenserver# make

firstly login on normal user then download latest sources
u can find they here
Revision 48: /tags/0.3.1pl2
Code:
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.1pl2/
then
Code:
cd 0.3.1pl2
then do what i have said in past.
 
Code:
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
configure: error: "Linking against boost::regex library failed."
Help me pls ;(
 
I get this error,
E: Couldn't find package libboost1.35-dev
how can i fix it?

this what i type
root@ubuntu:~# sudo apt-get install libboost1.35-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libboost1.35-dev
 
I get this error,
E: Couldn't find package libboost1.35-dev
how can i fix it?

this what i type
root@ubuntu:~# sudo apt-get install libboost1.35-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libboost1.35-dev

Update
PHP:
/etc/apt/sources.list
 
Code:
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
configure: error: "Linking against boost::regex library failed."
same error as some1 other on debian 4.0 etch on ubuntu everything was working and yes i installed boosts.
 

Code:
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
configure: error: "Linking against boost::regex library failed."
same error as some1 other on debian 4.0 etch on ubuntu everything was working and yes i installed boosts.





Code:
wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
Code:
tar -xf boost_asio_1_0_0.tar.gz

Code:
sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/

Code:
sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a

Code:
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
 
Code:
wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
Code:
tar -xf boost_asio_1_0_0.tar.gz

Code:
sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/

Code:
sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a

Code:
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
Code:
ks38164:~# wget [url=http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0]SourceForge.net: asio C++ library: Files[/url]                                                                             _0.tar.gz
--2009-03-08 17:47:10--  [url=http://heanet.dl.sourceforge.net/sourceforge/asio/boost]SourceForge.net: asio C++ library: Files[/url]                                                                             _asio_1_0_0.tar.gz
Resolving heanet.dl.sourceforge.net... 193.1.193.66, 2001:770:18:aa40::c101:c142
Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 955947 (934K) [application/x-gzip]
Saving to: `boost_asio_1_0_0.tar.gz'

100%[======================================>] 955,947     1.39M/s   in 0.7s

2009-03-08 17:47:11 (1.39 MB/s) - `boost_asio_1_0_0.tar.gz' saved [955947/955947                                                                             ]

ks38164:~# tar -xf boost_asio_1_0_0.tar.gz
ks38164:~# sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
ks38164:~# sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/l                                                                             ib/libboost_system.a
ks38164:~# ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so && ln /us                                                                             r/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a && ln /usr/lib/libboost_thre                                                                             ad-mt.so /usr/lib/libboost_thread.so && ln /usr/lib/libboost_thread-mt.a /usr/li                                                                             b/libboost_thread.a
ln: accessing `/usr/lib/libboost_regex-mt.so': No such file or directory
edit : btw i tried to copy from ubuntu to debian file theforgottenserver then run the scripts and the error is
Code:
ks38164:~/0.3.1pl2# ./theforgottenserver                                        ./theforgottenserver: error while loading shared libraries: libboost_date_time-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory
 
Last edited:
Code:
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
configure: error: "Linking against boost::regex library failed."
same error as some1 other on debian 4.0 etch on ubuntu everything was working and yes i installed boosts.

Most likely libboost1.35.1 didn't install libboost-regex-1.35.1 :p
 
Most likely libboost1.35.1 didn't install libboost-regex-1.35.1 :p

u have in tutorial that lib
Code:
wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz
1.3.4 it is right ? or outdated guide?
 
ok so i am downloading packets atm.

when i compile everything , how i can transfer my server configs/map/sql table from XP to my Debian on VMware ? :O
 
Last edited:
u have in tutorial that lib
Code:
wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz
1.3.4 it is right ? or outdated guide?

Sorry, my bad, its 1.35(.0), also updated the guide.
You should try:
Code:
apt-get install libboost-regex1.35-dev
...if it won't work, look at last steps (link errors, etc) in the first post, which were changed.
 
Last edited:
ty for guide , wery usefull.

i compiled succesfull , made an sql , web page , everything works but noone outside my comp can go to my page , i am sure its because i am using VMware :p
 
Last edited:
I keep getting this error:

Code:
checking for asio.hpp... no
configure: error: "boost::asio header not found."
make: *** [config.status] Error 1

Any help?
 
Back
Top