OTS na Debianie (czy to możliwe)

Tematy związane z oprogramowaniem, instalacją, konfiguracją
bezimienny

OTS na Debianie (czy to moŻliwe)

Post autor: bezimienny »

Witam
czy jest możliwe postawienie na debianie serwera OTS?

jeśli tak prosze powiedzcie jak

pozdrawiam
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

Tu masz howto:
http://otserv.org/index.php?title=Compiling_On_Debian

A tu po polsku ale dla Ubuntu:
http://www.forum.ubuntu.pl/showthread.php?t=53683


PS. Domyślam się że chodzi o Open Tibia Server :)
bezimienny

Post autor: bezimienny »

ruun, tak

robie według pierwszego How TU

ale mam problem podczas make mam

Kod: Zaznacz cały

g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cpp
mv -f .deps/position.Tpo .deps/position.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from protocolgame.h:25,
                 from protocolgame.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/protocolgame.Tpo .deps/protocolgame.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT spells.o -MD -MP -MF .deps/spells.Tpo -c -o spells.o spells.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from spells.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/spells.Tpo .deps/spells.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from status.h:25,
                 from status.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/status.Tpo .deps/status.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT thing.o -MD -MP -MF .deps/thing.Tpo -c -o thing.o thing.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from thing.h:24,
                 from thing.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/thing.Tpo .deps/thing.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT tile.o -MD -MP -MF .deps/tile.Tpo -c -o tile.o tile.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from tile.cpp:23:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/tile.Tpo .deps/tile.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT tools.o -MD -MP -MF .deps/tools.Tpo -c -o tools.o tools.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from tools.cpp:23:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
tools.cpp: In function 'uint32_t rand24b()':
tools.cpp:130: warning: suggest parentheses around arithmetic in operand of ^
mv -f .deps/tools.Tpo .deps/tools.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT spawn.o -MD -MP -MF .deps/spawn.Tpo -c -o spawn.o spawn.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from cylinder.h:24,
                 from tile.h:26,
                 from spawn.h:25,
                 from spawn.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/spawn.Tpo .deps/spawn.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from actions.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/actions.Tpo .deps/actions.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from creature.h:25,
                 from commands.h:27,
                 from commands.cpp:29:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/commands.Tpo .deps/commands.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT depot.o -MD -MP -MF .deps/depot.Tpo -c -o depot.o depot.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from definitions.h:159,
                 from container.h:24,
                 from depot.h:24,
                 from depot.cpp:22:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
mv -f .deps/depot.Tpo .deps/depot.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT md5.o -MD -MP -


to tylko malutki fragment
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

Ja tu nie widzę problemu. To są tylko ostrzeżenia, w tym fragmencie nie ma błędów. Wklej cały log jako załącznik do posta.
bezimienny

Post autor: bezimienny »

lol nie moge znaleść tego w logach na dodatek mam krzaki

no nic jeszcze raz skompiluję
Awatar użytkownika
ruun
Member
Posty: 1366
Rejestracja: 29 marca 2007, 21:07
Lokalizacja: Kruszwica

Post autor: ruun »

Ja nadal nie widzę błędów. Próbowałeś wykonać następne kroki?

Kod: Zaznacz cały

mkdir ~/.otserv/
mv config.lua.dist ~/.otserv/config.lua

./otserv
bezimienny

Post autor: bezimienny »

mv config.lua.dist ~/.otserv/config.lua
mv: nie można wykonać stat na `config.lua.dist': Nie ma takiego pliku ani katalogu
ODPOWIEDZ