• 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 Error with Compiling 8.6 TFS 0.4

kadron

New Member
Joined
Mar 28, 2015
Messages
17
Reaction score
1
Hello,
I download source from the https://otland.net/threads/8-60-the-forgotten-server-0-3-6-crying-damson-v8.147913/
And I have error with compiling.
I have Debian 6
I download all pack.
And when i say "./autogen.sh && ./configure --enable-mysql --enable-server-diag && make" its
Code:
                                      ^
/usr/include/boost/thread/lock_types.hpp:1001:50: error: ‘errc’ is not a member of ‘boost::system’
         boost::throw_exception(boost::lock_error(system::errc::resource_deadlock_would_occur, "boost shared_lock owns already the mutex"));
                                                  ^
In file included from /usr/include/boost/thread/thread_only.hpp:22:0,
                 from /usr/include/boost/thread/thread.hpp:12,
                 from /usr/include/boost/thread.hpp:13,
                 from otsystem.h:34,
                 from luascript.h:20,
                 from luascript.cpp:18:
/usr/include/boost/thread/detail/thread.hpp: In member function ‘void boost::thread::join()’:
/usr/include/boost/thread/detail/thread.hpp:752:56: error: ‘errc’ is not a member of ‘boost::system’
           boost::throw_exception(thread_resource_error(system::errc::resource_deadlock_would_occur, "boost thread: trying joining itself"));
                                                        ^
/usr/include/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::do_try_join_until(const timespec&)’:
/usr/include/boost/thread/detail/thread.hpp:766:56: error: ‘errc’ is not a member of ‘boost::system’
           boost::throw_exception(thread_resource_error(system::errc::resource_deadlock_would_occur, "boost thread: trying joining itself"));
                                                        ^
In file included from /usr/include/boost/thread.hpp:23:0,
                 from otsystem.h:34,
                 from luascript.h:20,
                 from luascript.cpp:18:
/usr/include/boost/thread/barrier.hpp: In static member function ‘static unsigned int boost::barrier::check_counter(unsigned int)’:
/usr/include/boost/thread/barrier.hpp:97:28: error: ‘errc’ is not a member of ‘boost::system’
           thread_exception(system::errc::invalid_argument, "barrier constructor: count cannot be zero."));
                            ^
Makefile:553: recipe for target 'luascript.o' failed
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory '/home/ots/source'
Makefile:404: recipe for target 'all' failed
make: *** [all] Error 2
root@debian:/home/ots/source#
Please help :)
 
I install Debian7 and
I use this tutorial : http://tibia.net.pl/threads/545782-Kompilacja-TFS-0-4-pod-Linuxem
But.. i install package "
apt-get install libboost1.42-dev libboost-system1.42-dev libboost-filesystem1.42-dev libboost-date-time1.42-dev libboost-regex1.42-dev libboost-thread1.42-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 libcurl4-openssl-dev 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 -o APT::Cache-Limit=12582912000"
and i have error this : E: Unable to correct problems, you have held broken packages.
wrVyq4V.jpg
 
Back
Top