Hi,

Le mar 20/07/2004 à 15:07, Richard Sammet a écrit :
> i downloaded the src of version 0.4 and try to compile it with make 
> release and make all, but i allways get an error wich tells me to 
> install the clanlib v. 0.6. but i allready installed that verion of 
> clanlib (emerge clanlib, so i get v. 0.6.5), i emerged libxml++ 1.0.2 
> and gettext too.

Michael answered already. The download page is not enough clear (easy to
understand) ?

> i think your configure script makes a mistake while checking for clanlib 
> version?

No, Gentoo use a special clanlib-config tool, and not the "official
ClanLib tool" ...

We are working on ClanLib 0.7 portage. With CL07, we will use only very
classic "pkg-config" tool. It will resolve the "bug".

> if i try ur static version, i allways get this output (i attached the 
> strace output):
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ./wormux-static
> 
> === Wormux version 0.4.0
> === Authors : Lawrence AZZOUG, Laurent DEFERT SIMONNEAU, Matthieu 
> FERTRE, Victor STINNER
> === Web site : http://www.haypocalc.com/wormux/
> 
> Wormux version 0.4.0, Copyright (C) 2001-2004 Lawrence Azzoug
> Wormux comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Read COPYING.txt for details.
> 
> !!! Ce programme a été compilé en mode DEBUG (version de
> !!! développement). Vous pouvez compiler le jeu en mode RELEASE en
> !!! tapant "make cleanall" puis "make release".
> 
> [ Run game ]
> XFree86 VidMode is enabled
> 1400x1050
> 1400x1050
> 
> video.cpp:116: Assertion manquée "lst_mode.size() != 0".
> Aborted

That means that no correct video mode were found. Our code is not very
nice : it only accepts 800x600, 1024x768, 1200x1024 :-(

We have to change this into "only acces video mode with width>=800 and
height>=600". The most important is the width because of the width of
the interface :-(

> ps. whats the state of the clanlib 0.7.x rewritten version?

I'm working (alone) in this project. 80% of the code is already ported
(means "should work"). Now the problems come ...

> pps. is it necessarily to use the downloadable version of clanlib 0.6.x 
> from their website? (because as U see in the strace output, there are 
> some missing files...)

open("/path/to/.wormux/config.xml", O_RDONLY) = -1 ENOENT (No such file
or directory)

\---> Wormux try to open "~/.wormux/config.xml". When you leave Wormux,
it will write config.xml (and make the directory if missing).

Richard: Um ... Is "/path/to/" your HOME directory ??? (if yes, no
problem ;-))

open("/etc/clanlib.conf", O_RDONLY)     = -1 ENOENT (No such file or
directory)
open("/path/to/.clanlib", O_RDONLY)  = -1 ENOENT (No such file or
directory)

\---> Um, I think it's for some ClanLib tricks. I don't have these
files.


open("/dev/js0", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js1", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js2", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js3", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js4", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js5", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js6", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)
open("/dev/js7", O_RDONLY|O_NONBLOCK)   = -1 ENOENT (No such file or
directory)

\---> JS means JoyStick, no ? => No problem.

Note : I prefer backtrace than strace -> gdb wormux RET run RET
backtrace (it don't work well with sound, a trick exists but i didn't
remember the gdb command)

Bye, Haypo


Répondre à