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

Linux Compiling 0.2.14.r101

Cornwallis

Member
Joined
Jan 3, 2010
Messages
480
Reaction score
16
I'm very new to Ubuntu, this is actually the first day I got it working. I've been playing around with instructions in tutorials trying to get Code::Blocks to work, but no luck. I'm not sure where the include or lib folder is located which seems to be my problem. I'm not sure where to set the links, so I'm getting this error. Please keep in mind I have no clue what I'm doing, any type of help is greatly appreciated.
Code:
 libxml/xmlmemory.h: No such file or directory

Some of the commands I've ran in the terminal are as follows;
Code:
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
---------------------------------------------------
apt-get install autoconf libboost-all-dev libgmp-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libxml2-dev libxml++2.6-dev libmysql++-dev libsqlite0-dev libsqlite3-dev build-essential

Btw, 400th post! anways, I'm editing this to say that after following elfs ( http://otland.net/f479/linux-ultimate-compile-guide-debian-ubuntu-included-2868/ ) tutorial, I ran into this problem. For this part, svn co http://svn.otland.net/public/forgottenserver/tags/0.3.5pl1, it seems the website changed so i tried: svn co http://otland.net/subversion.php?sv...ags/0.2.14/#a1d6eb335c9a8e3ecd798789e0e4236a0

After I use that, I get this.
Code:
[1] 28481
[2] 28482
[3] 28483
root@ubuntu:/home/jeremiah_robertson# svn: OPTIONS of 'http://otland.net/subversion.php?svn=public': 200 OK (http://otland.net)

Good/Bad? Not sure. But then I try mv 0.2.14 source, and I get:
Code:
mv: cannot stat `0.2.14': No such file or directory
[1]   Exit 1                  svn co http://otland.net/subversion.php?svn=public
[2]-  Done                    file=listing.php
[3]+  Done                    repname=forgottenserver
that's when I do it directly after the svn co command.
I'm going to experiment as I type this, I know that when I download the folder it comes up as 0.2.14.r101 so I'm going to now go ahead and see if mv 0.2.14.r101 source makes a difference. Nope, this is the error.
Code:
mv: cannot stat `0.2.14.r101': No such file or directory
[1]   Exit 1                  svn co http://otland.net/subversion.php?svn=public
[2]-  Done                    file=listing.php
[3]+  Done                    repname=forgottenserver

If I haven't already lost you because of my boringness, which I am aware boringness isn't a word, then I may be wrong but with ubuntu do you even need IDE's? it seems like from the tutorial you can just compile through the terminal, wrong or right?
 
Last edited:
I'm having the same problem except I'm using Windows.
I'm getting this error:
C:\Users\Justin\Desktop\New folder\0.2.14.r101 - Copy\otpch.h:37:30: fatal error: libxml/xmlmemory.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 1 seconds)
1 errors, 0 warnings (0 minutes, 1 seconds)
 
Last edited:
You're gonna have to download the lib and include's necessary to compile, then you'll have to go to your Code::Blocks program file folder and paste the include files and lib, go there in the include and see if the libxml folder is named different and change it to libxml
 
Just download the sources from private subversion if you have a hard time using svn.. its not that big of a deal and it doesnt install if you use svn, you will still have to compile.
 
Back
Top