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

Solved [Compiling] TFS errors | Debian 7.1 Wheezy |

Ruhat

VIP User
Joined
May 4, 2009
Messages
404
Reaction score
16
Location
Swedie
Hi Otland,

So i've always been that windows guy and I thought about making a server three days ago on Debian Linux Wheezy 7.1 so I could get some experience there too.

I've managed to install iptables, firewall, a webserver and mysql with phpmyadmin.
So I got everything checked and secured except for this tfs compiling problem i've been having for the past two days.
I've checked every tutorial out there, from elf's tutorials to Dondaniello's tutorials about compiling my TFS.

I've tried almost everything and I also have all the packages I need for compiling but still I get the same error.
I've tried to compile the TFS both in /usr/local/src and in /usr/src/ but i get the same error on both of the directories.
And also I've tried to compile my old TFS 0.4 r3777.r19 (which i got from when i was a premium) and also TFS 0.3.6pl1 and still no success.


when I write this command: ./autogen.sh
I get this:
Code:
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 `.'
when i write this command: ./configure --enable-mysql
Code:
configure: error: "Lua header not found."
In the end of the execution or what it's called.

And when i write this command: ./build.sh
Code:
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 2 cores, using 3 processes
make: *** No targets specified and no makefile found.  Stop.
I get this.

I'm really hopeless and if there's someone there to help me out I would appreciate it very much.
Also remote access would be possible and I would be really thankful for any kind of help.
Thanks in advance!

Rep+
 
What does this output?

Code:
dpkg -l "lua*"

This is what i got
Code:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  lua            <none>                    (no description available)
ii  lua-sql-mysql: 2.3.0-1+b1   amd64        luasql library for the Lua langua
ii  lua-sql-mysql- 2.3.0-1+b1   amd64        luasql development files for the
ii  lua-sql-sqlite 2.3.0-1+b1   amd64        luasql library for the Lua langua
ii  lua-sql-sqlite 2.3.0-1+b1   amd64        luasql development files for the
ii  lua5.1         5.1.5-4      amd64        Simple, extensible, embeddable pr
un  lua5.1-sql-mys <none>                    (no description available)
un  lua5.1-sql-mys <none>                    (no description available)
un  lua5.1-sql-sql <none>                    (no description available)
un  lua5.1-sql-sql <none>                    (no description available)
un  lua5.2-sql-mys <none>                    (no description available)
un  lua5.2-sql-mys <none>                    (no description available)
un  lua5.2-sql-sql <none>                    (no description available)
un  lua5.2-sql-sql <none>                    (no description available)
ii  lua50          5.0.3-6      amd64        Small embeddable language with si
 
Okay, try 2:

open configure.ac and find these lines:

Code:
#check lua 5.1
PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1, , [
	AC_CHECK_HEADERS([lua.hpp], , [AC_MSG_ERROR("lua header not found.")])
	AC_CHECK_LIB(lua, main, , [AC_MSG_ERROR("Linking against lua failed.")])
])
AC_SUBST(LUA_CFLAGS)
AC_SUBST(LUA_LIBS)

Replace them with:

Code:
# LUA >= 5.1
PKG_CHECK_MODULES([code=lua], [lua5.1], [LIBS="$LUA_LIBS $LIBS"], [
	PKG_CHECK_MODULES([code=lua], [lua >= 5.1], [LIBS="$LUA_LIBS $LIBS"], [
		AC_CHECK_HEADERS([lua.hpp])
		AC_CHECK_LIB([lua5.1], [main])
	])
])

Then run:

Code:
./autogen.sh
./configure
 
Okay, try 2:

open configure.ac and find these lines:

Code:
#check lua 5.1
PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1, , [
	AC_CHECK_HEADERS([lua.hpp], , [AC_MSG_ERROR("lua header not found.")])
	AC_CHECK_LIB(lua, main, , [AC_MSG_ERROR("Linking against lua failed.")])
])
AC_SUBST(LUA_CFLAGS)
AC_SUBST(LUA_LIBS)

Replace them with:

Code:
# LUA >= 5.1
PKG_CHECK_MODULES([code=lua], [lua5.1], [LIBS="$LUA_LIBS $LIBS"], [
	PKG_CHECK_MODULES([code=lua], [lua >= 5.1], [LIBS="$LUA_LIBS $LIBS"], [
		AC_CHECK_HEADERS([lua.hpp])
		AC_CHECK_LIB([lua5.1], [main])
	])
])

Then run:

Code:
./autogen.sh
./configure

dude gotta say thank you for your effort, really appreciate ur help but i got a new error now.

when i do ./configure
Code:
./configure: line 8344: syntax error: unexpected end of file
 
Hereis the configure.ac file:
Code:
fAC_PREREQ([2.50])
AC_INIT([TheForgottenServer], [0.4])
AM_INIT_AUTOMAKE([1.10 foreign])
AC_CONFIG_SRCDIR([account.h])
AM_CONFIG_HEADER([config.h])

AC_PROG_CXX
AC_LANG(C++)

OPTIONAL_FLAGS="-D__WAR__SYSTEM_"
DEBUG_FLAGS="-O2 -fomit-frame-pointer"

# check if we want server diag enabled
serverDiag=no
AC_ARG_ENABLE(server-diag, [  --enable-server-diag		enable server diagnostic],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__ENABLE_SERVER_DIAGNOSTIC__"]
	serverDiag=yes
)

# check if we want login server mode
AM_CONDITIONAL(LOGIN_SERVER, false)
loginServer=no
AC_ARG_ENABLE(login-server, [  --enable-login-server		enable login server mode],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__LOGIN_SERVER__"]
	AM_CONDITIONAL(LOGIN_SERVER, true)
	loginServer=yes
)

# check if we want OTAdmin protocol
AM_CONDITIONAL(OT_ADMIN, false)
otAdmin=no
AC_ARG_ENABLE(ot-admin, [  --enable-ot-admin		enable OTAdmin protocol],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__OTADMIN__"]
	AM_CONDITIONAL(OT_ADMIN, true)
	otAdmin=yes
)

# check if we want otserv allocator enabled
otservAllocator=no
AC_ARG_ENABLE(otserv-allocator, [  --enable-otserv-allocator	enable otserv custom allocator],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__OTSERV_ALLOCATOR__"]
	otservAllocator=yes
)

# check if we want homedir conf enabled
homedirConf=no
AC_ARG_ENABLE(homedir-conf, [  --enable-homedir-conf		enable home directory configuration],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__HOMEDIR_CONF__"]
	homedirConf=yes
)

# check do we want to allow running on root user
rootPermission=no
AC_ARG_ENABLE(root-permission, [  --enable-root-permission	enable running on root user],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__ROOT_PERMISSION__"]
	rootPermission=yes
)

# check do we want to be a login server for multiworld
loginServer=no
AC_ARG_ENABLE(login-server, [  --enable-login-server  enable running in a login server mode],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__LOGIN_SERVER__"]
	loginServer=yes
)

# check if we want to use luajit instead of lua
luaJIT=no
AC_ARG_ENABLE(luajit, [  --enable-luajit		enable luajit instead of lua],
	[OPTIONAL_FLAGS="$OPTIONAL_FLAGS -D__LUAJIT__"]
	luaJIT=yes
)
AC_SUBST(OPTIONAL_FLAGS)

# check if we want a debug build
debugBuild=no
AC_ARG_ENABLE(debug, [  --enable-debug		enable debuging],
	[DEBUG_FLAGS="-D__DEBUG__ -D__DEBUG_MOVESYS__ -D__DEBUG_CHAT__ -D__DEBUG_EXCEPTION_REPORT__ -D__DEBUG_HOUSES__ -D__DEBUG_LUASCRIPTS__ -D__DEBUG_MAILBOX__ -D__DEBUG_NET__ -D__DEBUG_NET_DETAIL__ -D__DEBUG_RAID__ -D__DEBUG_SCHEDULER__ -D__DEBUG_SPAWN__ -D__SQL_QUERY_DEBUG__ -O0 -g3"]
	debugBuild=yes
)
AC_SUBST(DEBUG_FLAGS)

AM_CONDITIONAL(USE_MYSQL, false)
useMySQL=no
AM_CONDITIONAL(USE_PGSQL, false)
usePostgreSQL=no
AM_CONDITIONAL(USE_SQLITE, false)
useSQLite=no

# check if we want mysql enabled
AC_ARG_ENABLE(mysql, [  --enable-mysql		enable MySQL support], [
	AM_CONDITIONAL(USE_MYSQL, true)
	MYSQL_FLAGS=-D__USE_MYSQL__
	AC_SUBST(MYSQL_FLAGS)
	useMySQL=yes
])

# check if we want postgresql enabled
AC_ARG_ENABLE(pgsql, [  --enable-pgsql		enable PostgreSQL support], [
	AM_CONDITIONAL(USE_PGSQL, true)
	PGSQL_FLAGS="-D__USE_PGSQL__ -I`pg_config --includedir`"
	AC_SUBST(PGSQL_FLAGS)
	usePostgreSQL=yes
])

# check if we want sqlite enabled
AC_ARG_ENABLE(sqlite, [  --enable-sqlite		enable SQLite support], [
	AM_CONDITIONAL(USE_SQLITE, true)
	SQLITE_FLAGS=-D__USE_SQLITE__
	AC_SUBST(SQLITE_FLAGS)
	useSQLite=yes
])

# check if we want the profiler
AC_ARG_ENABLE(profiler, [  --enable-profiler		enable profiler support], [PROFILER_FLAGS=-pg])
AC_SUBST(PROFILER_FLAGS)

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h sys/socket.h sys/timeb.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
AC_CHECK_TYPES([ptrdiff_t])

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_REALLOC
AC_CHECK_FUNCS([ceil floor ftime gethostbyname gethostname memset pow sqrt strcasecmp strncasecmp strstr strtol])

# check for xml2
AM_PATH_XML2(2.6.5, , AC_MSG_ERROR([You need libxml2 >= 2.6.5 to compile theforgottenserver!]))
LIBS="$LIBS $XML_LIBS"

# check for zlib
AC_CHECK_HEADERS([zlib.h], ,[AC_MSG_ERROR("zlib header not found.")])
AC_CHECK_LIB(z, main, ,[AC_MSG_ERROR("Linking against zlib library failed.")])

# check for boost
AC_CHECK_LIB(boost_thread-gcc-mt, main, , [
	AC_CHECK_LIB(boost_thread-mt, main, , [
		AC_CHECK_LIB(boost_thread, main, , [
			AC_MSG_ERROR("Linking against boost::thread library failed.")
		])
	])
])

AC_CHECK_LIB(boost_regex-gcc-mt, main, , [
	AC_CHECK_LIB(boost_regex-mt, main, , [
		AC_CHECK_LIB(boost_regex, main, , [
			AC_MSG_ERROR("Linking against boost::regex library failed.")
		])
	])
])

AC_CHECK_LIB(boost_system-gcc-mt, main, , [
	AC_CHECK_LIB(boost_system-mt, main, , [
		AC_CHECK_LIB(boost_system, main, , [
			AC_MSG_ERROR("Linking against boost::system library failed.")
		])
	])
])

AC_CHECK_LIB(boost_date_time-gcc-mt, main, , [
	AC_CHECK_LIB(boost_date_time-mt, main, , [
		AC_CHECK_LIB(boost_date_time, main, , [
			AC_MSG_ERROR("Linking against boost::date-time library failed.")
		])
	])
])

AC_CHECK_LIB(boost_filesystem-gcc-mt, main, , [
	AC_CHECK_LIB(boost_filesystem-mt, main, , [
		AC_CHECK_LIB(boost_filesystem, main, , [
			AC_MSG_ERROR("Linking against boost::filesystem library failed.")
		])
	])
])

# check for boost::unordered_set
AC_CHECK_HEADERS([boost/tr1/unordered_set.hpp], , [AC_MSG_ERROR("boost::unordered_set header not found. Please update your boost to at least 1.40.")])

# check for Crypto++
AC_CHECK_HEADERS([cryptopp/sha.h cryptopp/md5.h cryptopp/adler32.h cryptopp/hex.h cryptopp/base64.h cryptopp/hmac.h cryptopp/cryptlib.h], , [AC_MSG_ERROR("Required Crypto++ headers not found.")])
AC_CHECK_LIB(cryptopp, main, , [AC_MSG_ERROR("Linking against Crypto++ library failed")])

# check for OpenSSL
AC_CHECK_HEADERS([openssl/rsa.h openssl/bn.h openssl/err.h], , [AC_MSG_ERROR("Required OpenSSL headers not found.")])
AC_CHECK_LIB(crypto, main, , [AC_MSG_ERROR("Linking against OpenSSL library failed")])


# check for Lua
if test "$luaJIT" = "yes"; then 
	PKG_CHECK_MODULES(LUA, luajit, , [
		AC_CHECK_HEADERS([lua.hpp], , [AC_MSG_ERROR("LuaJIT header not found.")])
		AC_CHECK_LIB(luajit, main, , [AC_MSG_ERROR("Linking against LuaJIT library failed.")])
	])
elif test "$luaJIT" = "no"; then
# LUA >= 5.1
PKG_CHECK_MODULES([code=lua], [lua5.1], [LIBS="$LUA_LIBS $LIBS"], [
	PKG_CHECK_MODULES([code=lua], [lua >= 5.1], [LIBS="$LUA_LIBS $LIBS"], [
		AC_CHECK_HEADERS([lua.hpp])
		AC_CHECK_LIB([lua5.1], [main])
	])
])

# check for mysql if it is enabled
if test -n "$MYSQL_FLAGS"; then
	AC_CHECK_HEADERS([mysql/mysql.h],[MYSQL_LIBS=-lmysqlclient],[AC_MSG_ERROR("MySQL headers missing.")])
	AC_CHECK_LIB(mysqlclient, main,[],[AC_MSG_ERROR("Linking against mysql-client failed.")])
	AC_SUBST(MYSQL_LIBS)
fi

# check for postgresql if it is enabled
if test -n "$PGSQL_FLAGS"; then
	AC_CHECK_HEADERS([`pg_config --includedir`/libpq-fe.h],[PGSQL_LIBS=-lpg],[AC_MSG_ERROR("PostgreSQL headers missing.")])
	AC_CHECK_LIB(pq, main,[],[AC_MSG_ERROR("Linking against libpq failed.")])
	AC_SUBST(PGSQL_LIBS)
fi

# check for sqlite if it is enabled
if test -n "$SQLITE_FLAGS"; then
	AC_CHECK_HEADERS([sqlite3.h],[SQLITE_LIBS=-lsqlite3],[AC_MSG_ERROR("SQLite3 headers missing.")])
	AC_CHECK_LIB(sqlite3, main,[],[AC_MSG_ERROR("Linking against sqlite3 failed.")])
	AC_SUBST(SQLITE_LIBS)
fi

if test "$useMySQL" = "no" ; then
	if test "$useSQLite" = "no" ; then
		if test "$usePostgreSQL" = "no" ; then
			AM_CONDITIONAL(USE_SQLITE, true)
			SQLITE_FLAGS=-D__USE_SQLITE__
			AC_SUBST(SQLITE_FLAGS)
			useSQLite=yes

			echo WARNING: Any of available database drivers was enabled, using SQLite as default. To enable a database driver, configure with --enable-\<driver\> \(example: --enable-mysql\)
			echo
		fi
	fi
fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

echo
#echo The Forgotten Server 0.4
echo $PACKAGE $VERSION
echo
echo Server diagnostics.......... : $serverDiag
echo Login server mode........... : $loginServer
echo OTAdmin protocol............ : $otAdmin
echo Root run permission......... : $rootPermission
echo Login server mode........... : $loginServer
echo Home-directory configuration : $homedirConf
echo OTServ custom allocator..... : $otservAllocator
echo Debug build................. : $debugBuild
echo Using LuaJIT................ : $luaJIT
echo
echo Build with MySQL............ : $useMySQL
echo Build with SQLite........... : $useSQLite
echo Build with PostgreSQL....... : $usePostgreSQL
echo

echo Configure complete, now you may type \'./build.sh\'.
 
Looks like you're not using TFS 0.3.6-pl1.
Doesn't matter though.

I see two things:

1. In the first line the "f" at the beginning shouldn't be there.
2. Remove this:
Code:
# check for Lua
if test "$luaJIT" = "yes"; then 
	PKG_CHECK_MODULES(LUA, luajit, , [
		AC_CHECK_HEADERS([lua.hpp], , [AC_MSG_ERROR("LuaJIT header not found.")])
		AC_CHECK_LIB(luajit, main, , [AC_MSG_ERROR("Linking against LuaJIT library failed.")])
	])
elif test "$luaJIT" = "no"; then
 
Looks like you're not using TFS 0.3.6-pl1.
Doesn't matter though.

I see two things:

1. In the first line the "f" at the beginning shouldn't be there.
2. Remove this:
Code:
# check for Lua
if test "$luaJIT" = "yes"; then 
	PKG_CHECK_MODULES(LUA, luajit, , [
		AC_CHECK_HEADERS([lua.hpp], , [AC_MSG_ERROR("LuaJIT header not found.")])
		AC_CHECK_LIB(luajit, main, , [AC_MSG_ERROR("Linking against LuaJIT library failed.")])
	])
elif test "$luaJIT" = "no"; then

I deleted everything like you mentioned
and it's compiiling now, damn really a big progress thanks man but when i execute ./build.sh now i get this:
Code:
chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
chat.cpp:1144:10: error: converting ‘false’ to pointer type ‘ChatChannel*’ [-Werror=conversion-null]
cc1plus: all warnings being treated as errors
make[1]: *** [chat.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/combat.Tpo .deps/combat.Po
mv -f .deps/condition.Tpo .deps/condition.Po
make[1]: Leaving directory `/usr/src/server'
make: *** [all] Error 2
 
Can you upload your Makefile.am please?

Makefile.am
Code:
noinst_PROGRAMS = theforgottenserver

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

theforgottenserver_LDADD = $(LUA_LIBS)

if USE_MYSQL
MAYBE_MYSQL = databasemysql.cpp databasemysql.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_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
 
Now i get this:

Code:
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
luascript.cpp:741:23: error: ‘class boost::filesystem3::directory_entry’ has no member named ‘leaf’
luascript.cpp:744:61: error: no match for ‘operator+’ in ‘boost::filesystem3::path::filename() const() + "/"’
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/mailbox.Tpo .deps/mailbox.Po
mv -f .deps/manager.Tpo .deps/manager.Po
make[1]: Leaving directory `/usr/src/server'
make: *** [all] Error 2

fml
 
In luascript.cpp and scriptmanager.cpp replace
Code:
it->leaf()
with
Code:
it->path().filename().string()

Then ./build.sh again.

got this now:

Code:
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
luascript.cpp:744:61: error: no match for ‘operator+’ in ‘boost::filesystem3::path::filename() const() + "/"’
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/npc.Tpo .deps/npc.Po
mv -f .deps/otserv.Tpo .deps/otserv.Po
make[1]: Leaving directory `/usr/src/server'
 
Back
Top