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

Having a little Issue compling to Linux..!

Zt0ffe

New Member
Joined
Sep 26, 2008
Messages
341
Reaction score
4
Location
Sweden
My makefile is playing havoc at the minute, I can't seem to work out why. It's telling me "Seperator Not Found" on line 11.. Note that I'm doing this entirely using Putty via a non-GUI Ubuntu distro.



here is my code on the makefile. Its for a 8.60,


Code:
noinst_PROGRAMS = theforgottenserver

CXXFLAGS = -pipe -g
AM_CXXFLAGS = $(XML_CPPFLAGS) $(OTSERV_FLAGS) $(LUA_CFLAGS) $(DEBUG_FLAGS)\
$(MYSQL_FLAGS) $(MYSQLPP_FLAGS) $(SQLITE_FLAGS) $(PGSQL_FLAGS) $(PROFILER_FLAGS)\
$(OPTIONAL_FLAGS) -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing


theforgottenserver_LDADD = $(LUA_LIBS)


if USE_MYSQL
MAYBE_MYSQL = databasemysql.cpp databasemysql.h
endif
if USE_MYSQLPP
MAYBE_MYSQLPP = databasemysqlpp.cpp databasemysqlpp.h
endif
if USE_SQLITE
MAYBE_SQLITE = databasesqlite.cpp databasesqlite.h
endif
if USE_PGSQL
MAYBE_PGSQL = databasepgsql.cpp databasepgsql.h
endif
if LOGIN_SERVER
MAYBE_LOGIN = gameservers.cpp gameservers.h
endif
if OT_ADMIN
MAYBE_OTADMIN = admin.cpp admin.h
endif


theforgottenserver_SOURCES = account.h actions.cpp actions.h $(MAYBE_OTADMIN) \
	allocator.cpp allocator.h baseevents.cpp baseevents.h beds.cpp \
	beds.h chat.cpp chat.h combat.cpp combat.h condition.cpp condition.h \
	config.h configmanager.cpp configmanager.h connection.cpp connection.h \
	const.h container.cpp container.h creature.cpp creature.h \
	creatureevent.cpp creatureevent.h cylinder.cpp cylinder.h database.cpp \
	database.h databasemanager.cpp databasemanager.h $(MAYBE_MYSQL) \
	$(MAYBE_MYSQLPP) $(MAYBE_SQLITE) $(MAYBE_PGSQL) depot.cpp depot.h \
	dispatcher.cpp dispatcher.h exception.cpp exception.h fileloader.cpp \
	fileloader.h game.cpp game.h $(MAYBE_LOGIN) globalevent.cpp globalevent.h \
	group.cpp group.h house.cpp house.h housetile.cpp housetile.h ioban.cpp \
	ioban.h ioguild.cpp ioguild.h iologindata.cpp iologindata.h iomap.cpp \
	iomap.h iomapserialize.cpp iomapserialize.h \
	item.cpp item.h itemattributes.cpp itemattributes.h items.cpp items.h \
	luascript.cpp luascript.h mailbox.cpp mailbox.h manager.cpp manager.h \
	map.cpp map.h monster.cpp monster.h monsters.cpp monsters.h \
	movement.cpp movement.h networkmessage.cpp networkmessage.h \
	npc.cpp npc.h otpch.h otserv.cpp otsystem.h outfit.cpp outfit.h \
	outputmessage.cpp outputmessage.h party.cpp party.h player.cpp player.h \
	position.cpp position.h protocol.cpp protocol.h protocolgame.cpp \
	protocolgame.h protocolhttp.cpp protocolhttp.h protocollogin.cpp \
	protocollogin.h protocolold.cpp protocolold.h quests.cpp quests.h \
	raids.cpp raids.h scheduler.cpp scheduler.h scriptmanager.cpp \
	scriptmanager.h server.cpp server.h spawn.cpp spawn.h spells.cpp \
	spells.h status.cpp status.h talkaction.cpp talkaction.h teleport.cpp \
	teleport.h templates.h textlogger.cpp textlogger.h thing.cpp thing.h \
	tile.cpp tile.h tools.cpp tools.h town.h trashholder.cpp trashholder.h \
	waitlist.cpp waitlist.h waypoints.h weapons.cpp weapons.h vocation.cpp \
	vocation.h
 
He meant if you have run commands ./autogen.sh and ./configure before you run make -j 2

To the best of my knowledge both of those fail. I chmod'd them to a+x, and they ran, but this error on autogen.sh:

autoreconf: command not found.
configure: Does not exist.

Thanks for your time :p
 
It's all written in the README file. That's why it called like it is ;)

Code:
apt-get install libboost-dev libboost-system-dev libboost-filesystem.dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 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
 
It's all written in the README file. That's why it called like it is ;)

Code:
apt-get install libboost-dev libboost-system-dev libboost-filesystem.dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 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

Feel free to point me in the direction of this invisible readme file at any time, I'd love to see it...
 
Tried same these commands above you said before make -j 2.

./autogen.sh
./autogen.sh: line 1: autoreconf: command not found

same with configure file.
 
In the docs folder.

I still don't think we're quite thinking on the same level here. There is no docs folder. There is no readme file. There are no documents provided with the version in particular which we are using. I have followed my experience which has never failed me before, but I am not all that well experienced in building on Linux, though I have built a variety of distros and other software (non-Tibian). I am aware of the standard protocol for building software however, and I can assure you that the fault lies in the makefile. Somewhere along the lines, Ubuntu is finding that thing incomprehensible, and the reason is not related to the method which we are using to try and build.
 
Tried same these commands above you said before make -j 2.

./autogen.sh
./autogen.sh: line 1: autoreconf: command not found

same with configure file.

Did you run this command?
Code:
apt-get install libboost-dev libboost-system-dev libboost-filesystem.dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 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


@XtrmJosh where did you download it so that it contains no readme and not even the docs folder?
cryingdamson 0.3.6 (8.60) V8.2.rar < includes docs for me
 
Did you run this command?
Code:
apt-get install libboost-dev libboost-system-dev libboost-filesystem.dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 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


@XtrmJosh where did you download it so that it contains no readme and not even the docs folder?
cryingdamson 0.3.6 (8.60) V8.2.rar < includes docs for me

It comes from MartyX 8.6 thread, I posted in there about it too but no avail. We've gotten around it by making some mods to the makefile and shell scripts and it's now working. Thanks for your efforts
 
Back
Top