Switch language

Default language

 
Random picture
gallery
 
   On 05/09/11 at 15h27 Quote      

Member

Group: Member

Signed up since: 05/09/11
Messages: 3
Hi there,
I'm unable to get WarMUX version 11.04 to compile on my Mandriva 2010.0 Linux machine.

I compiled and installed version 2.0.22 of SDL_gfx, but get the following error when running the configure script that came with version 11.04 of the WarMUX source.
...
checking SDL_rotozoom.h usability... yes
checking SDL_rotozoom.h presence... yes
checking for SDL_rotozoom.h... yes
checking for rotozoomSurfaceXY in -lSDL_gfx... yes
checking whether SDL_gfx - version >= 2.0.22 ... cat: conftest.out: No such file or directory
configure: error: Please upgrade SDL_gfx
...
I can't locate a file called conftest.out and can't make out where it is supposed to belong.

Any help would be appreciated.

pm http://    
   On 05/09/11 at 17h18 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
conftest.out is used by configure for the output of test programs.

Could you provide the config.log that has probably been generated? For some reason, the test we perform seems to fail even before conftest.out has been generated.

Meanwhile, are you sure this 11.04? If I recall correctly such test wasn't in place at this time. I expect this to be 11.04.1 instead.

If you want to remove the error for now (and until I have figured the problem with you), you'll have to do quite a bit of things:
  • open configure.ac
  • look for AC_MSG_CHECKING with a sdl_gfx mention, and delete that portion up to the line containing "Please upgrade SDL_gfx", included. This should be lines 288-303.
  • download http://svn.gna.org/viewcvs/*checkout*/warmux/trunk/autogen.sh (can't make the url clickable, please copy'n'paste it) to put in your wormux folder
  • Install the most recent version of automake and autoconf for your system
  • run the just downloaded autogen.sh.

This should regenerate configure, that can be rerun without issue.

If you can't follow the directions, you may want to reach us on the irc channel #warmux on warmux, for instance through this web interface.
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    
   On 05/10/11 at 09h51 Quote      

Member

Group: Member

Signed up since: 05/09/11
Messages: 3
Thanks for the prompt response kurosu.

You are quite right about the version. It is 11.04.1 not 11.04

I'm not sure how to supply the config.log file to you. It is too large to paste into this window...

In the meantime, I had a go at the workaround you provided.

I found that autogen.sh was also calling clean.sh which I was able to find in the same directory as autogen.sh was in on your server.
The script also required me to install gettext-devel.

Once those requirements were met, autogen.sh ran successfully and I was then able to compile and install WarMUX.

Unfortunatly I now receive the following error message when trying to run the newly compiled WarMUX:
warmux: error while loading shared libraries: libSDL_gfx.so.13: cannot open shared object file: No such file or directory

Is there a compile time variable I need to set to tell it where to find libSDL_gfx.so.13 ?

pm http://    
   On 05/10/11 at 15h26 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
This is strange, you are able to link a test program using SDL_gfx, but then it cannot find the proper so file? This is probably what the config.log would have said. I'm not sure if pastebin.com or the like would allow big files

As for the core problem, I suggest you uninstall all sdl_gfx packages (supposedly you have a -lib/-bin one and a -devel one), and reinstall them. It is completely abnormal that your devel packages have a lib/libsdl_gfx.a pointing at an incorrect bin/libsdl_gfx.so file.
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    
   On 05/11/11 at 17h03 Quote      

Member

Group: Member

Signed up since: 05/09/11
Messages: 3
Thanks again kurosu.
I've managed to get it working. I found that when I compiled the latest SDL_gfx it was being installed in /usr/local/lib rather than /usr/lib64 where my other SDL libraries have been installed.

I copied the new SDL_gfx libraries into /usr/lib64 and have been able to compile and run WarMUX v11.04.1 without modification.

Thanks for your help.

pm http://    
   On 05/23/11 at 08h25 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
I haven't tested it in ages, but there is the configure's flag --with-sdl-gfx-prefix
Anyway, your problem is solved.
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    

 |  |

1 User online :: 0 Administrator, 0 Moderator, 0 Member and 1 Visitor
User online: No member online
Answer
You aren't allowed to write in this category