Hi,
I want to report that the compilation fails under windows because in function 'do_thread' in toolkit/console.c, there is a call to usleep, which is not available under windows. I tried to fix that by using this small snipplet:
#ifdef WIN32
#include <windows.h>
#define usleep(useconds) Sleep((useconds + 999) / 1000)
#endif
It does compile now, but there is a small problem that is causing a real bad lag ingame:
[00:02:31.036818] BUG [sleep_delta:215] sleep delta out of range! (0s 513421us)
[00:02:31.161529] BUG [sleep_delta:215] sleep delta out of range! (0s 513710us)
[00:02:31.266197] BUG [sleep_delta:215] sleep delta out of range! (0s 534042us)
[00:02:31.358044] BUG [sleep_delta:215] sleep delta out of range! (0s 567195us)
[00:02:31.141662] BUG [sleep_delta:215] sleep delta out of range! (0s 908577us)
[00:02:34.497314] BUG [sleep_delta:215] sleep delta out of range! (0s 519757us)
[00:02:34.601979] BUG [sleep_delta:215] sleep delta out of range! (0s 540092us)
[00:02:34.720143] BUG [sleep_delta:215] sleep delta out of range! (0s 546928us)
[00:02:34.405454] BUG [sleep_delta:215] sleep delta out of range! (0s 986617us)
[00:02:37.767669] BUG [sleep_delta:215] sleep delta out of range! (0s 591556us)
[00:02:37.977372] BUG [sleep_delta:215] sleep delta out of range! (0s 506853us)
[00:02:38.069121] BUG [sleep_delta:215] sleep delta out of range! (0s 540104us)
[00:02:37.767471] BUG [sleep_delta:215] sleep delta out of range! (0s 966754us)
[00:02:41.214857] BUG [sleep_delta:215] sleep delta out of range! (0s 512905us)
[00:02:41.312971] BUG [sleep_delta:215] sleep delta out of range! (0s 539791us)
[00:02:41.431135] BUG [sleep_delta:215] sleep delta out of range! (0s 546627us)
[00:02:41.116443] BUG [sleep_delta:215] sleep delta out of range! (0s 986319us)
[00:02:41.319605] BUG [sleep_delta:215] sleep delta out of range! (0s 908157us)
Would you please look into this? I was going to report it in the bugtracker but that is also broken:
Software error:
DateTime::TimeZone version 1.09 required--this is only version 0.98 at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DateTime.pm line 47.
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DateTime.pm line 47.
Compilation failed in require at Bugzilla/Util.pm line 53.
BEGIN failed--compilation aborted at Bugzilla/Util.pm line 53.
Compilation failed in require at Bugzilla/Error.pm line 33.
BEGIN failed--compilation aborted at Bugzilla/Error.pm line 33.
Compilation failed in require at Bugzilla/Install/Filesystem.pm line 31.
BEGIN failed--compilation aborted at Bugzilla/Install/Filesystem.pm line 31.
Compilation failed in require at Bugzilla/Config.pm line 38.
BEGIN failed--compilation aborted at Bugzilla/Config.pm line 38.
Compilation failed in require at Bugzilla.pm line 43.
BEGIN failed--compilation aborted at Bugzilla.pm line 43.
Compilation failed in require at index.cgi line 34.
BEGIN failed--compilation aborted at index.cgi line 34.
Best regards,
BloodyShade