• 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 Linux Debian Leny

Status
Not open for further replies.

Natan Beckman

Well-Known Member
Joined
Aug 1, 2010
Messages
548
Reaction score
52
Location
Teresina-PI/Br
What's happening?

checking for main in -lz... yes
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-mt... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... yes
checking boost/tr1/unordered_set.hpp usability... no
checking boost/tr1/unordered_set.hpp presence... no
checking for boost/tr1/unordered_set.hpp... no
configure: error: "boost::unordered_set header not found. Please update your boost to at least 1.40."
unassigned:/home/trunk#
 
unassigned:/home/trunk# apt-get install libboost1.42-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libboost1.42-all-dev
unassigned:/home/trunk#
 
?
Code:
wget -c http://downloads.sourceforge.net/asio/boost_asio_0_3_8.tar.gz
wget -c http://downloads.sourceforge.net/boost/boost_1_34_1.tar.gz
wget -c http://downloads.sourceforge.net/boost/boost_1_43_0.tar.gz

tar -zxvf boost_asio_0_3_8.tar.gz
tar -zxvf boost_1_34_1.tar.gz
tar -zxvf boost_1_43_0.tar.gz

cp boost_1_43_0/boost /usr/local/include -r
cp boost_asio_0_3_8/boost /usr/local/include -r
cp boost_asio_0_3_8/libs boost_1_34_1 -r
cd boost_1_34_1/libs/system/src/
g++ -shared -Wl,-soname,libboost_system.so.1 -o libboost_system.so.1.0.1 error_code.cpp -lc -fPIC
cp libboost_system.so.1.0.1 /usr/local/lib
ln -s /usr/local/lib/libboost_system.so.1.0.1 /usr/lib/libboost_system.so.1
ln -s /usr/local/lib/libboost_system.so.1.0.1 /usr/lib/libboost_system.so
ldconfig
I hold these codes to compile on debian lenny and etch :)
I always work
Greetings and rep + +?
 
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.6.5... yes (version 2.6.32)
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-mt... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... yes
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.hpp... yes
checking cryptopp/sha.h usability... no
checking cryptopp/sha.h presence... no
checking for cryptopp/sha.h... no
configure: error: "Required Crypto++ headers not found."
unassigned:/home/trunk#
 
apt-get install libcrypto++-dev

install the missing packages
follow the guide of Stian or read the readme attached to the folder of your server
but i help you if you have debian etch because here are a problem with this package
but is very easy install the packages in debian lenny :/
 
Last edited:
thanks!!!!

instaled liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1

erro:
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... yes
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.hpp... yes
checking cryptopp/sha.h usability... yes
checking cryptopp/sha.h presence... yes
checking for cryptopp/sha.h... yes
checking cryptopp/md5.h usability... yes
checking cryptopp/md5.h presence... yes
checking for cryptopp/md5.h... yes
checking cryptopp/adler32.h usability... yes
checking cryptopp/adler32.h presence... yes
checking for cryptopp/adler32.h... yes
checking cryptopp/hex.h usability... yes
checking cryptopp/hex.h presence... yes
checking for cryptopp/hex.h... yes
checking cryptopp/base64.h usability... yes
checking cryptopp/base64.h presence... yes
checking for cryptopp/base64.h... yes
checking cryptopp/hmac.h usability... yes
checking cryptopp/hmac.h presence... yes
checking for cryptopp/hmac.h... yes
checking cryptopp/cryptlib.h usability... yes
checking cryptopp/cryptlib.h presence... yes
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for main in -lcrypto... yes
checking for LUA... checking lua.hpp usability... no
checking lua.hpp presence... no
checking for lua.hpp... no
configure: error: "Lua header not found."
unassigned:/home/trunk#
 
lua instaled my serv:

unassigned:/home/trunk# apt-cache search libluajit
libluajit-5.1-2 - Just in time compiler for Lua - library version
libluajit-5.1-common - Just in time compiler for Lua - common files
libluajit-5.1-dev - Just in time compiler for Lua - development files
unassigned:/home/trunk#
unassigned:/home/trunk#


my erro:

checking cryptopp/adler32.h presence... yes
checking for cryptopp/adler32.h... yes
checking cryptopp/hex.h usability... yes
checking cryptopp/hex.h presence... yes
checking for cryptopp/hex.h... yes
checking cryptopp/base64.h usability... yes
checking cryptopp/base64.h presence... yes
checking for cryptopp/base64.h... yes
checking cryptopp/hmac.h usability... yes
checking cryptopp/hmac.h presence... yes
checking for cryptopp/hmac.h... yes
checking cryptopp/cryptlib.h usability... yes
checking cryptopp/cryptlib.h presence... yes
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for main in -lcrypto... yes
checking for LUA... no
checking lua.hpp usability... no
checking lua.hpp presence... no
checking for lua.hpp... no
configure: error: "Lua header not found."
unassigned:/home/trunk# make
make: *** No targets specified and no makefile found. Stop.
unassigned:/home/trunk#


help-me plis.
 
Man is a mistake of the version of tfs that does not detect the package .lua in debian alone detects it in ubuntu say to me that you occupy version of tfs to help yourself
 
when u use the command ./configure --enable-mysql of this error:

Code:
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.hpp... yes
checking cryptopp/sha.h usability... yes
checking cryptopp/sha.h presence... yes
checking for cryptopp/sha.h... yes
checking cryptopp/md5.h usability... yes
checking cryptopp/md5.h presence... yes
checking for cryptopp/md5.h... yes
checking cryptopp/adler32.h usability... yes
checking cryptopp/adler32.h presence... yes
checking for cryptopp/adler32.h... yes
checking cryptopp/hex.h usability... yes
checking cryptopp/hex.h presence... yes
checking for cryptopp/hex.h... yes
checking cryptopp/base64.h usability... yes
checking cryptopp/base64.h presence... yes
checking for cryptopp/base64.h... yes
checking cryptopp/hmac.h usability... yes
checking cryptopp/hmac.h presence... yes
checking for cryptopp/hmac.h... yes
checking cryptopp/cryptlib.h usability... yes
checking cryptopp/cryptlib.h presence... yes
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for main in -lcrypto... yes
checking for LUA... no
checking lua.hpp usability... no
checking lua.hpp presence... no
checking for lua.hpp... no
configure: error: "Lua header not found."
unassigned:/home/trunk#

when u use the command ./configure --enable-mysql --enable-luajit everything's ok.
Code:
checking for cryptopp/adler32.h... yes
checking cryptopp/hex.h usability... yes
checking cryptopp/hex.h presence... yes
checking for cryptopp/hex.h... yes
checking cryptopp/base64.h usability... yes
checking cryptopp/base64.h presence... yes
checking for cryptopp/base64.h... yes
checking cryptopp/hmac.h usability... yes
checking cryptopp/hmac.h presence... yes
checking for cryptopp/hmac.h... yes
checking cryptopp/cryptlib.h usability... yes
checking cryptopp/cryptlib.h presence... yes
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for main in -lcrypto... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for main in -lmysqlclient... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

theforgottenserver 0.4

Server diagnostics.......... : no
Login server mode........... : no
OTAdmin protocol............ : no
Root run permission......... : no
Login server mode........... : no
Home-directory configuration : no
OTServ custom allocator..... : no
Debug build................. : no
Using LuaJIT................ : yes

Build with MySQL............ : yes
Build with SQLite........... : no
Build with PostgreSQL....... : no

Configure complete, now you may type './build.sh'.
unassigned:/home/trunk#
Code:
when I run the command ./build.sh in error again

Configure complete, now you may type './build.sh'.
unassigned:/home/trunk# ./build.sh
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 4 cores, using 5 processes
make  all-am
make[1]: Entering directory `/home/trunk'
g++ -I/usr/include/libxml2  -I/usr/include/luajit-2.0   -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D__LUAJIT__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe   -o theforgottenserver actions.o  allocator.o baseevents.o beds.o chat.o combat.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemanager.o databasemysql.o   depot.o dispatcher.o exception.o fileloader.o game.o  globalevent.o group.o house.o housetile.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o itemattributes.o items.o luascript.o mailbox.o manager.o map.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o position.o protocol.o protocolgame.o protocolhttp.o protocollogin.o protocolold.o quests.o raids.o scheduler.o scriptmanager.o server.o spawn.o spells.o status.o talkaction.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o waitlist.o weapons.o vocation.o -lluajit-5.1   -lmysqlclient -lcrypto -lcryptopp -lboost_filesystem-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lz  -lxml2
actions.o: In function `global constructors keyed to _ZN7ActionsC2Ev':
actions.cpp:(.text+0x4888): undefined reference to `boost::system::get_posix_category()'
actions.cpp:(.text+0x4894): undefined reference to `boost::system::get_posix_category()'
baseevents.o: In function `global constructors keyed to _ZN10BaseEvents11loadFromXmlEv':
baseevents.cpp:(.text+0x328): undefined reference to `boost::system::get_posix_category()'
baseevents.cpp:(.text+0x334): undefined reference to `boost::system::get_posix_category()'
beds.o: In function `global constructors keyed to _ZN7BedItem8readAttrE11AttrTypes_tR10PropStream':
beds.cpp:(.text+0x1838): undefined reference to `boost::system::get_posix_category()'
beds.o:beds.cpp:(.text+0x1844): more undefined references to `boost::system::get_posix_category()' follow
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/trunk'
make: *** [all] Error 2
unassigned:/home/trunk#


help-me plissss

yes already tested the latest svn
 
You can't use LuaJit unless you already have it built.
build.sh is weak sauce. I'd edit it. Open, select all, delete, write "nice -n -10 make -j 4", save.

Now... First of all add this to your sources.list
deb http://sft.if.usp.br/debian-backports/ lenny-backports main non-free contrib
deb-src http://sft.if.usp.br/debian-backports/ lenny-backports main non-free contrib

Now fire up aptitude, and update package list and you will find the comeplete boost library you need, and probably some upgrades. be sure to press 'l' to limit. enter 'keyring' and get the backports keyring first. Then get boost and any upgrades you like. The lua you need is liblua5.1-0-dev

----Edit:Addendum----
Here's the official Push-Primary for Brazil
http://ftp.br.debian.org/debian/
as from
http://www.debian.org/mirror/list-full
and it also has Backports
http://ftp.br.debian.org/debian-backports/
 
Last edited:
unassigned:/home/trunk# apt-get install liblua5.1-0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblua5.1-0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
unassigned:/home/trunk#


already have all the LUA Installed
 
You totally missed the most important part: Did you get the complete Boost package from backports?
 
Status
Not open for further replies.

Similar threads

Back
Top