Witam.
Od jakiego? czasu, tj. od 2 dni pr?buje skompilowa? silnik OTServ.
Najnowsze svnki ?ci?gni?te, wszystko ?adnie poinstalowa?em ( liby ). tj. wszystko - tak mi si? wydaje.
./autogen.sh przeszlo bez problemu.
./confige --enable-mysql tez przeszlo bez problemu.
Przy ko?cowym make'u ju? nie idzie tak ?atwo i nie wiem w czym tkwi problem.
W konsoli putty wywala takie cos:
System na kt?rym pr?buje to zrobi? to Debian 5.0 (lenny)
Pomo?e kto? z tym? Dodam, i? szuka?em ju? na wielu forach, tj. otfans/otland i innych.
Chcia?em te? znale?? svn od tfs 0.3.6pl1 na protok?l 8.60, lecz nie znalaz?em, dlatego ten OTServ. Za pomoc z gory dzieki.
Pozdrawiam,
dudeks.
Od jakiego? czasu, tj. od 2 dni pr?buje skompilowa? silnik OTServ.
Najnowsze svnki ?ci?gni?te, wszystko ?adnie poinstalowa?em ( liby ). tj. wszystko - tak mi si? wydaje.
./autogen.sh przeszlo bez problemu.
./confige --enable-mysql tez przeszlo bez problemu.
Przy ko?cowym make'u ju? nie idzie tak ?atwo i nie wiem w czym tkwi problem.
W konsoli putty wywala takie cos:
Code:
dudeks@interstacje:/home/dudeks/ots/trunk$ make
make all-am
make[1]: Entering directory `/home/dudeks/ots/trunk'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/otserv\" -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 scheduler.h:25,
from game.h:33,
from actions.cpp:27:
tasks.h:59: error: 'system_time' in namespace 'boost' does not name a type
tasks.h: In constructor 'Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)':
tasks.h:36: error: 'm_expiration' was not declared in this scope
tasks.h:36: error: 'get_system_time' is not a member of 'boost'
tasks.h:36: error: 'boost::posix_time' has not been declared
tasks.h: In constructor 'Task::Task(const boost::function<void ()(), std::allocator<void> >&)':
tasks.h:39: error: class 'Task' does not have any field named 'm_expiration'
tasks.h:39: error: 'boost::date_time' has not been declared
tasks.h: In member function 'void Task::setDontExpire()':
tasks.h:48: error: 'm_expiration' was not declared in this scope
tasks.h:48: error: 'boost::date_time' has not been declared
tasks.h: In member function 'bool Task::hasExpired() const':
tasks.h:51: error: 'm_expiration' was not declared in this scope
tasks.h:51: error: 'boost::date_time' has not been declared
tasks.h:53: error: 'm_expiration' was not declared in this scope
tasks.h:53: error: 'get_system_time' is not a member of 'boost'
tasks.h: At global scope:
tasks.h:101: error: 'condition_variable' in namespace 'boost' does not name a type
In file included from game.h:33,
from actions.cpp:27:
scheduler.h:42: error: 'system_time' in namespace 'boost' does not name a type
scheduler.h: In member function 'bool SchedulerTask::operator<(const SchedulerTask&) const':
scheduler.h:46: error: 'getCycle' was not declared in this scope
scheduler.h:46: error: 'const class SchedulerTask' has no member named 'getCycle'
scheduler.h: At global scope:
scheduler.h:101: error: 'condition_variable' in namespace 'boost' does not name a type
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/dudeks/ots/trunk'
make: *** [all] Error 2
Pomo?e kto? z tym? Dodam, i? szuka?em ju? na wielu forach, tj. otfans/otland i innych.
Chcia?em te? znale?? svn od tfs 0.3.6pl1 na protok?l 8.60, lecz nie znalaz?em, dlatego ten OTServ. Za pomoc z gory dzieki.
Pozdrawiam,
dudeks.