• 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#
 
past this in sources.list:
Code:
deb http://mir1.ovh.net/debian/ etch main
deb-src http://mir1.ovh.net/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
deb-src http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free
and let
apt-get update
apt-get upgrade
 
[DIR] boost1.35/ 15-Jul-2009 10:59 -
[DIR] boost1.42/ 21-Aug-2010 10:19 -
[DIR] boost1.44/ 14-Nov-2010 10:50 -

man thanx y no have goods repositoris :)

but you test repositoris for debian lenny?
because
boost1.42 is for debian Testing, or squeeze
boost1.44 is for debian Unstable, or sid
 
Last edited:
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


did everything you said went further by giving the above error.

I think debian should ester buggy
 
Code:
apt-get install liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1
and try ./configure --enable-mysql
 
unassigned:/home/trunk# apt-get install liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblua5.1-0 is already the newest version.
liblua5.1-0-dev is already the newest version.
liblua50 is already the newest version.
liblua50-dev is already the newest version.
liblualib50 is already the newest version.
liblualib50-dev is already the newest version.
lua50 is already the newest version.
lua5.1 is already the newest version.
The following packages were automatically installed and are no longer required:
libmpfr1ldbl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
unassigned:/home/trunk#

all packages are already installed.
 
let this
Code:
apt-get update && upgrade

You past this
Code:
deb http://mir1.ovh.net/debian/ etch main
deb-src http://mir1.ovh.net/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
deb-src http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free

in sources.list?
 
[DIR] boost1.35/ 15-Jul-2009 10:59 -
[DIR] boost1.42/ 21-Aug-2010 10:19 -
[DIR] boost1.44/ 14-Nov-2010 10:50 -

man thanx y no have goods repositoris :)

but you test repositoris for debian lenny?
because
boost1.42 is for debian Testing, or squeeze
boost1.44 is for debian Unstable, or sid

BACKPORTS, do you not know how to read?
 
continued from previous post to ''Debian''...
ALSO, second of all, you can build any version of The Boost C Libraries you %$@%ing feel like yourself. You take your username after the developer community's Linux distro, how could you NOT know this, Mr. Debian? You do realize Debian Squeeze is now frozen right? That very soon, as in a few months, 'Debian Stable' will equal 'Debian Squeeze' right? Damn poseur.

Go away. No really. Until you compile Boost 1.45 for yourself on your security-blanket Lenny platform, I don't want anymore replies from you. -.-

http://otland.net/members/grzesiek1925/grzesiek1925:
Did he imply he imply he was running Etch somewhere? If so, I missed it.

OP Natan Beckman:
I'm assuming you're running Debian Lenny from your thread's title.
The repository in my earlier post is the local official Debian Backports for Brazil. Here, look for yourself:
Index of /debian-backports/pool/main/b/boost1.40

If you can't following directions and install the appropriate libboost1.40-all-dev package for your platform:
deb.gif
libboost1.40-all-dev..> 18-Apr-2010 05:47 25k
deb.gif
libboost1.40-all-dev..> 14-Apr-2010 06:32 25k
deb.gif
libboost1.40-all-dev..> 16-Apr-2010 18:47 25k
deb.gif
libboost1.40-all-dev..> 14-Apr-2010 18:02 25k
deb.gif
libboost1.40-all-dev..> 15-Apr-2010 10:02 25k
deb.gif
libboost1.40-all-dev..> 18-Apr-2010 06:32 25k

Then make sure you have the newest versions of these from backports as well:

autoconf
automake
autopoint
autotools-dev
bison
flex
gawk
gettext
gnulib
libtool
m4

Then run ./autoreconf -vfi in your source root.
Then run ./configure %options% again
Then run nice -n -10 make -j4
and tell me what happens, I can't help you anymore.
 
D -MP -MF .deps/vocation.Tpo -c -o vocation.o vocation.cpp
mv -f .deps/weapons.Tpo .deps/weapons.Po
mv -f .deps/vocation.Tpo .deps/vocation.Po
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -D__WAR_SYSTEM__ -Wall -Wextra -Werror -Wno-strict-aliasing -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 rsa.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 -llua5.1 -lmysqlclient -lcryptopp -lboost_filesystem-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lz -lgmp -lxml2
otserv.o: In function `otserv(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, ServiceManager*)':
otserv.cpp:(.text+0x3712): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)'
collect2: ld returned 1 exit status
make[1]: ** [theforgottenserver] Erro 1
make[1]: Saindo do diretório `/home/trunk.r3777aa'
make: ** [all] Erro 2

I have same problem, already tried everything and can not get out of this error
 
Look it be My Actualy Console:

Code:
mv -f .deps/itemattributes.Tpo .deps/itemattributes.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
                from /usr/include/boost/filesystem.hpp:34,
                from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
mv -f .deps/items.Tpo .deps/items.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT mailbox.o -MD -MP -MF .deps/mailbox.Tpo -c -o mailbox.o mailbox.cpp
mv -f .deps/item.Tpo .deps/item.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cpp
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 `/home/administrator/OTS/trunk.r3884'
make: *** [all] Error 2
root@GAMER:/home/administrator/OTS/trunk.r3884#

Could someone Help me?
 
again:

Code:
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT monster.o -MD -MP -MF .deps/monster.Tpo -c -o monster.o monster.cpp
In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
                from /usr/include/boost/filesystem.hpp:34,
                from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/map.Tpo .deps/map.Po
monster.cpp: In member function ‘virtual void Monster::doAttacking(uint32_t)’:
monster.cpp:626:26: warning: variable ‘outOfRange’ set but not used [-Wunused-but-set-variable]
mv -f .deps/monster.Tpo .deps/monster.Po
make[1]: Leaving directory `/home/administrator/OTS/trunk.r3884'
make: *** [all] Error 2
root@GAMER:/home/administrator/OTS/trunk.r3884#
 
refresh ubuntu 18.04


checking boost/asio.hpp usability... no
checking boost/asio.hpp presence... yes
configure: WARNING: boost/asio.hpp: present but cannot be compiled
configure: WARNING: boost/asio.hpp: check for missing prerequisite headers?
configure: WARNING: boost/asio.hpp: see the Autoconf documentation
configure: WARNING: boost/asio.hpp: section "Present But Cannot Be Compiled"
configure: WARNING: boost/asio.hpp: proceeding with the compiler's result
checking for boost/asio.hpp... no
configure: error: "boost::asio header not found."
 
Status
Not open for further replies.

Similar threads

Back
Top