ancak
New Member
Witam, mam problem z kompilacja nie mogę się z nim uporać od wczoraj więc pomyślałem, że napiszę tutaj 
Tematy podobne czytałem ale mi nie pomogły wieć postanowiłem założyć. Problem wygląda nastepująco (dodam go tutaj jak i linkami na no-pasta)
link na no-pasta Wklejka #555734 | Wklej.org
tutaj daje spis libboostow jakie mam
oraz link Wklejka #555667 | Wklej.org
Proszę o wyrozumiałość, gdyż jestem nowicjuszem w tej dziedzinie
Czy do poprawnego przejścia instalacji powinienem zrobić porządek z boostami ? jak tak to jak lub jaka komenda usunąć wszystkie paczki np 1.46 bo dpkg -P to monotonne trochę , oraz czy obejdzie się bez ponownego instalowania systemu
Wzorowałem się na tym poradniku Obsługa i instalacja MySql, PhpMyAdmin na systemie LINUX (opis na system Lenny)-Trudny - Tibia.net.pl
obiektem kompilacji jest silnik z tego forum, a dokładniej tfs 0.3.6
dodatkowe pytanie - czy do sources dla 0.4 jest wszystki takie samo ? (planuje kupic donatora)
Za pomoc oczywiście REP++
Tematy podobne czytałem ale mi nie pomogły wieć postanowiłem założyć. Problem wygląda nastepująco (dodam go tutaj jak i linkami na no-pasta)
PHP:
root@Kuba-Komputer:~/ots# ./autogen.sh && ./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag --enable-root-permission --enable-debug make
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 `.'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: unrecognized options: --enable-remote-control
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for make-g++... no
checking for make-c++... no
checking for make-gpp... no
checking for make-aCC... no
checking for make-CC... no
checking for make-cxx... no
checking for make-cc++... no
checking for make-cl.exe... no
checking for make-FCC... no
checking for make-KCC... no
checking for make-RCC... no
checking for make-xlC_r... no
checking for make-xlC... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for ceil... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.6.5... yes (version 2.7.8)
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... 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... yes
checking lua.hpp presence... yes
checking for lua.hpp... yes
checking for main in -llua... 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
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for main in -lsqlite3... 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
configure: WARNING: unrecognized options: --enable-remote-control
Server diagnostics.......... : yes
Login server mode........... : no
OTAdmin protocol............ : no
Root run permission......... : yes
Login server mode........... : no
Home-directory configuration : no
OTServ custom allocator..... : no
Debug build................. : yes
Using LuaJIT................ : no
Build with MySQL............ : yes
Build with SQLite........... : yes
Build with PostgreSQL....... : no
Configure complete, now you may type './build.sh'.
root@Kuba-Komputer:~/ots# ./build
bash: ./build: Nie ma takiego pliku ani katalogu
root@Kuba-Komputer:~/ots# ./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]: Wejście do katalogu `/root/ots'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT beds.o -MD -MP -MF .deps/beds.Tpo -c -o beds.o beds.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -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 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cpp
In file included from /usr/local/include/boost/thread/future.hpp:12:0,
from /usr/local/include/boost/thread.hpp:24,
from otsystem.h:34,
from item.h:20,
from beds.h:20,
from beds.cpp:19:
/usr/local/include/boost/exception_ptr.hpp:41:5: error: looser throw specifier for ‘virtual boost::exception_ptr::~exception_ptr()’
/usr/local/include/boost/exception/detail/exception_ptr_base.hpp:26:25: error: overriding ‘virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()’
In file included from /usr/local/include/boost/thread/future.hpp:12:0,
from /usr/local/include/boost/thread.hpp:24,
from otsystem.h:34,
from baseevents.h:20,
from baseevents.cpp:20:
/usr/local/include/boost/exception_ptr.hpp:41:5: error: looser throw specifier for ‘virtual boost::exception_ptr::~exception_ptr()’
/usr/local/include/boost/exception/detail/exception_ptr_base.hpp:26:25: error: overriding ‘virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()’
In file included from /usr/local/include/boost/thread/future.hpp:12:0,
from /usr/local/include/boost/thread.hpp:24,
from otsystem.h:34,
from combat.h:20,
from combat.cpp:20:
/usr/local/include/boost/exception_ptr.hpp:41:5: error: looser throw specifier for ‘virtual boost::exception_ptr::~exception_ptr()’
/usr/local/include/boost/exception/detail/exception_ptr_base.hpp:26:25: error: overriding ‘virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()’
In file included from /usr/local/include/boost/thread/future.hpp:12:0,
from /usr/local/include/boost/thread.hpp:24,
from otsystem.h:34,
from chat.h:20,
from chat.cpp:18:
/usr/local/include/boost/exception_ptr.hpp:41:5: error: looser throw specifier for ‘virtual boost::exception_ptr::~exception_ptr()’
/usr/local/include/boost/exception/detail/exception_ptr_base.hpp:26:25: error: overriding ‘virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()’
make[1]: *** [baseevents.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
In file included from /usr/local/include/boost/thread/future.hpp:12:0,
from /usr/local/include/boost/thread.hpp:24,
from otsystem.h:34,
from baseevents.h:20,
from actions.h:20,
from actions.cpp:20:
/usr/local/include/boost/exception_ptr.hpp:41:5: error: looser throw specifier for ‘virtual boost::exception_ptr::~exception_ptr()’
/usr/local/include/boost/exception/detail/exception_ptr_base.hpp:26:25: error: overriding ‘virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()’
make[1]: *** [beds.o] Błąd 1
make[1]: *** [combat.o] Błąd 1
make[1]: *** [chat.o] Błąd 1
make[1]: *** [actions.o] Błąd 1
make[1]: Opuszczenie katalogu `/root/ots'
make: *** [all] Błąd 2
tutaj daje spis libboostow jakie mam
PHP:
root@Kuba-Komputer:~/ots# cd /usr/lib && ls | grep libboost
libboost_date_time.a
libboost_date_time-mt.a
libboost_date_time-mt.so
libboost_date_time.so
libboost_date_time.so.1.42.0
libboost_date_time.so.1.46.1
libboost_filesystem.a
libboost_filesystem-mt.a
libboost_filesystem-mt.so
libboost_filesystem.so
libboost_filesystem.so.1.46.1
libboost_graph.a
libboost_graph-mt.a
libboost_graph-mt.so
libboost_graph_parallel.a
libboost_graph_parallel-mt.a
libboost_graph_parallel-mt.so
libboost_graph_parallel.so
libboost_graph_parallel.so.1.46.1
libboost_graph.so
libboost_graph.so.1.46.1
libboost_iostreams.a
libboost_iostreams-mt.a
libboost_iostreams-mt.so
libboost_iostreams.so
libboost_iostreams.so.1.42.0
libboost_iostreams.so.1.46.1
libboost_math_c99.a
libboost_math_c99f.a
libboost_math_c99f-mt.a
libboost_math_c99f-mt.so
libboost_math_c99f.so
libboost_math_c99f.so.1.46.1
libboost_math_c99l.a
libboost_math_c99l-mt.a
libboost_math_c99l-mt.so
libboost_math_c99l.so
libboost_math_c99l.so.1.46.1
libboost_math_c99-mt.a
libboost_math_c99-mt.so
libboost_math_c99.so
libboost_math_c99.so.1.46.1
libboost_math_tr1.a
libboost_math_tr1f.a
libboost_math_tr1f-mt.a
libboost_math_tr1f-mt.so
libboost_math_tr1f.so
libboost_math_tr1f.so.1.46.1
libboost_math_tr1l.a
libboost_math_tr1l-mt.a
libboost_math_tr1l-mt.so
libboost_math_tr1l.so
libboost_math_tr1l.so.1.46.1
libboost_math_tr1-mt.a
libboost_math_tr1-mt.so
libboost_math_tr1.so
libboost_math_tr1.so.1.46.1
libboost_mpi.a
libboost_mpi-mt.a
libboost_mpi-mt.so
libboost_mpi_python.a
libboost_mpi_python-mt-py26.a
libboost_mpi_python-mt-py26.so
libboost_mpi_python-mt-py27.a
libboost_mpi_python-mt-py27.so
libboost_mpi_python-mt-py32.a
libboost_mpi_python-mt-py32.so
libboost_mpi_python-py26.a
libboost_mpi_python-py26.so
libboost_mpi_python-py26.so.1.46.1
libboost_mpi_python-py27.a
libboost_mpi_python-py27.so
libboost_mpi_python-py27.so.1.46.1
libboost_mpi_python-py32.a
libboost_mpi_python-py32.so
libboost_mpi_python-py32.so.1.46.1
libboost_mpi_python.so
libboost_mpi.so
libboost_mpi.so.1.46.1
libboost_prg_exec_monitor.a
libboost_prg_exec_monitor-mt.a
libboost_prg_exec_monitor-mt.so
libboost_prg_exec_monitor.so
libboost_prg_exec_monitor.so.1.46.1
libboost_program_options.a
libboost_program_options-mt.a
libboost_program_options-mt.so
libboost_program_options.so
libboost_program_options.so.1.46.1
libboost_python.a
libboost_python-mt-py26.a
libboost_python-mt-py26.so
libboost_python-mt-py27.a
libboost_python-mt-py27.so
libboost_python-mt-py32.a
libboost_python-mt-py32.so
libboost_python-py26.a
libboost_python-py26.so
libboost_python-py26.so.1.42.0
libboost_python-py26.so.1.46.1
libboost_python-py27.a
libboost_python-py27.so
libboost_python-py27.so.1.42.0
libboost_python-py27.so.1.46.1
libboost_python-py32.a
libboost_python-py32.so
libboost_python-py32.so.1.46.1
libboost_python.so
libboost_random.a
libboost_random-mt.a
libboost_random-mt.so
libboost_random.so
libboost_random.so.1.46.1
libboost_regex.a
libboost_regex-mt.a
libboost_regex-mt.so
libboost_regex.so
libboost_regex.so.1.46.1
libboost_serialization.a
libboost_serialization-mt.a
libboost_serialization-mt.so
libboost_serialization.so
libboost_serialization.so.1.46.1
libboost_signals.a
libboost_signals-mt.a
libboost_signals-mt.so
libboost_signals.so
libboost_signals.so.1.46.1
libboost_system.a
libboost_system-mt.a
libboost_system-mt.so
libboost_system.so
libboost_system.so.1
libboost_system.so.1.46.1
libboost_test_exec_monitor.a
libboost_test_exec_monitor-mt.a
libboost_thread.a
libboost_thread-mt.a
libboost_thread-mt.so
libboost_thread.so
libboost_thread.so.1.42.0
libboost_thread.so.1.46.1
libboost_unit_test_framework.a
libboost_unit_test_framework-mt.a
libboost_unit_test_framework-mt.so
libboost_unit_test_framework.so
libboost_unit_test_framework.so.1.46.1
libboost_wave.a
libboost_wave-mt.a
libboost_wave-mt.so
libboost_wave.so
libboost_wave.so.1.46.1
libboost_wserialization.a
libboost_wserialization-mt.a
libboost_wserialization-mt.so
libboost_wserialization.so
libboost_wserialization.so.1.46.1
Proszę o wyrozumiałość, gdyż jestem nowicjuszem w tej dziedzinie
Czy do poprawnego przejścia instalacji powinienem zrobić porządek z boostami ? jak tak to jak lub jaka komenda usunąć wszystkie paczki np 1.46 bo dpkg -P to monotonne trochę , oraz czy obejdzie się bez ponownego instalowania systemu
Wzorowałem się na tym poradniku Obsługa i instalacja MySql, PhpMyAdmin na systemie LINUX (opis na system Lenny)-Trudny - Tibia.net.pl
obiektem kompilacji jest silnik z tego forum, a dokładniej tfs 0.3.6
dodatkowe pytanie - czy do sources dla 0.4 jest wszystki takie samo ? (planuje kupic donatora)
Za pomoc oczywiście REP++