• 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)

Well I'm using Ubuntu 8.10, and when I try to use ./autogen.sh in the directory with all my source files, it says "Permission denied." And yes im logged in with root user and full administrator privelages. Any idea what could be the problem?
 
Ah tyvm that worked. :thumbup:
Now I'm getting another error.. When I try to do the command
PHP:
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
I get -bash ./configure: No such file or directory"
(I'm very new to Linux)
I tried doing it in every directory that the source came with..
 
Last edited:
Ah tyvm that worked. :thumbup:
Now I'm getting another error.. When I try to do the command
PHP:
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
I get -bash ./configure: No such file or directory"
(I'm very new to Linux)
I tried doing it in every directory that the source came with..

Code:
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.2/
Code:
cd 0.3.2
Code:
./autogen.sh
Code:
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
 
That's what I'm using. x.x
Edit: Nvm, I got it working. Thanks.
 
Last edited:
Code:
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.2/
Code:
cd 0.3.2
Code:
./autogen.sh
Code:
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag

i tried this, but i got this error:

PHP:
root@ubuntu:/home/ubuntu/sources/0.3b3# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
configure.ac:135: warning: macro `AM_PATH_XML2' not found in library
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:135: error: possibly undefined macro: AM_PATH_XML2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I`m using ubuntu 8.10 (latest version)
 
i tried this, but i got this error:

PHP:
root@ubuntu:/home/ubuntu/sources/0.3b3# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
configure.ac:135: warning: macro `AM_PATH_XML2' not found in library
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:135: error: possibly undefined macro: AM_PATH_XML2
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I`m using ubuntu 8.10 (latest version)

make sure your xml lib is up to date..i use 8.10 myself, followed the tutorial exactly from a fresh install and it works fine
 
Hey sirs wat gone on i take all ok but don`t work with libbost-asio


root@owner:~# tar -xzf boost_asio_1_0_0.tar.gz
root@owner:~# cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
root@owner:~# g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a
root@owner:~# ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so
ln: accessing `/usr/lib/libboost_regex-mt.so': No such file or directory

thx for help !
 
Code:
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.2/
Code:
cd 0.3.2
Code:
./autogen.sh
Code:
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag

I did that but after I "make" it, I only get the "theforgottenserver" file, no config.lua or anything else.

(The tutorial from elf worked perfectly but Id like to compile 0.3.2, not the one on elf's example, so I did everything just like the one on elf's example, and then in the respective part I did what Pietia said in his post)

What am I doing wrong?
 
I did that but after I "make" it, I only get the "theforgottenserver" file, no config.lua or anything else.

(The tutorial from elf worked perfectly but Id like to compile 0.3.2, not the one on elf's example, so I did everything just like the one on elf's example, and then in the respective part I did what Pietia said in his post)

What am I doing wrong?

download the config.lua file from the svn..http://svn.otland.net/public, its not made when you compile
 
download the config.lua file from the svn..http://svn.otland.net/public, its not made when you compile

=O Its not? But thats like only on the version 0.3.2 or in general? Ive never compiled (successfully) before this so I wouldnt know, but Im wondering because when I followed elf's tut for 0.3.1pl2 I actually ended up having the config.lua and everything :blink:

(with everything I mean "data doc config.lua forgottenserver.s3db schema.mysql schema.pgsql schema.sqlite theforgottenserver")

In this case with 0.3.2 Im only getting the file "theforgottenserver", thats the way it is supposed to happen?

And if so, I know Im extreme noob for asking such thing but, to download that, should I type (on the sources folder):

Code:
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.2

And thats all?

Thanks in advance.

EDIT: Nvm I did it :) Im guessing I was doing something wrong like maybe I moved the files somewhere and didnt notice or something like that lol.

Thanks for the help anyways, +Rep for ya and elf too for this great tut~
Edit: I need to "spread some rep around" before giving ya goosio, I gave u already a few weeks ago :p Ill give ya when I have it available again :thumbsup:.

Btw, *offtopic* how come this thread had 3 stars (before I voted) if it works perfectly? :blink:
 
Last edited:
bump help me! im using Debian 4.0 and i did like you said, my dedicated is from serverloft! help!

i'm recommending u to update ur debian to lenny (5.0)
try out
Code:
apt-get install subversion
 
@elf:
Could u post your sources.list?? because it doesnt download some of the packets
 
I've got an error, when i tried to do the "2", install some packets:
E: Couldn't find package libboost1.35-dev
I didn't understand the explaination about sources.list...
Can someone help me?

Bye!
 
I've got an error, when i tried to do the "2", install some packets:

I didn't understand the explaination about sources.list...
Can someone help me?

Bye!

E: = Permission denied more or less, are you logged on as root?
 
Back
Top