Can't load savegame in ubuntu gutsy

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Can't load savegame in ubuntu gutsy

Post by DevUrandom »

Buginator wrote: I forget to ask what version of WZ people are running.
They use some unsupported and heavily outdated svn snapshot which apparently comes with Ubuntu, it seems...
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Can't load savegame in ubuntu gutsy

Post by Giel »

DevUrandom wrote: They use some unsupported and heavily outdated svn snapshot which apparently comes with Ubuntu, it seems...
It is not as heavily outdated as it may seem though.... As this snapshot is from before the merge of Berlios & Gna history, see: https://mail.gna.org/public/warzone-dev ... 00013.html

So r1436 really is r1794 (which is still old, though not as old as r1436...)

PS This package really comes from Debian, Ubuntu just copied it over into their repositories. The Debian package is maintained by Linas Žvirblis.
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Can't load savegame in ubuntu gutsy

Post by Buginator »

Giel wrote: It is not as heavily outdated as it may seem though.... As this snapshot is from before the merge of Berlios & Gna history, see: https://mail.gna.org/public/warzone-dev ... 00013.html

So r1436 really is r1794 (which is still old, though not as old as r1436...)

PS This package really comes from Debian, Ubuntu just copied it over into their repositories. The Debian package is maintained by Linas Žvirblis.
Does that mean he isn't updating WZ anymore?  Or do they just take a long time to get a newer version into the repositories?
and it ends here.
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Can't load savegame in ubuntu gutsy

Post by Giel »

Buginator wrote: Does that mean he isn't updating WZ anymore?  Or do they just take a long time to get a newer version into the repositories?
AFAIk it is in this case the latter.
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
EvilGuru
Regular
Regular
Posts: 615
Joined: 23 Jun 2007, 22:41

Re: Can't load savegame in ubuntu gutsy

Post by EvilGuru »

Buginator wrote: Does that mean he isn't updating WZ anymore?  Or do they just take a long time to get a newer version into the repositories?
We had the Debian package maintainer for Warzone on IRC a week or so ago, so he is around.

Regards, Freddie.
juicymixx
Greenhorn
Posts: 7
Joined: 05 Nov 2007, 01:30

Re: Can't load savegame in ubuntu gutsy

Post by juicymixx »

Buginator wrote: ...
Note, you might get some errors with either autogen.sh or configure.  Just means you have to download the headers & libs of all the libraries that this project uses.  Things like physfs, quesoGLC, and other ones.
...
I was confused by the physfs.h error, but got that resolved.  Now my problem is with quesoGLC...

For anyone else who is interested, install these via synaptic (or aptitude or apt-get) before you start Buginator's instructions:
bison
flex
libphysfs-dev
libsdl-netx.y-dev (where x.y is some number, probably 1.2)

;)
Last edited by juicymixx on 25 Nov 2007, 17:46, edited 1 time in total.
juicymixx
Greenhorn
Posts: 7
Joined: 05 Nov 2007, 01:30

Re: Can't load savegame in ubuntu gutsy

Post by juicymixx »

Buginator wrote: Then once that is done, just follow what I wrote above, and it should be simple enough to do.
okay, this is going OT, but I can't seem to get warzone2100 to start after following the directions you posted.  I did get QuesoGLC installed, and warzone2100 made it through the ./configure, make, and sudo make install with no errors (finally).  Now when I run warzone2100 I get:
$ warzone2100
warzone2100: error while loading shared libraries: libGLC.so.0: cannot open shared object file: No such file or directory

running it from gdb I get:
$ gdb warzone2100
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run --window --debug all 2>err.txt
Starting program: /usr/local/bin/warzone2100 --window --debug all 2>err.txt

Program exited with code 0177.

... :o
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Can't load savegame in ubuntu gutsy

Post by Buginator »

juicymixx wrote: okay, this is going OT, but I can't seem to get warzone2100 to start after following the directions you posted.  I did get QuesoGLC installed, and warzone2100 made it through the ./configure, make, and sudo make install with no errors (finally).  Now when I run warzone2100 I get:
$ warzone2100
warzone2100: error while loading shared libraries: libGLC.so.0: cannot open shared object file: No such file or directory

running it from gdb I get:
$ gdb warzone2100
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run --window --debug all 2>err.txt
Starting program: /usr/local/bin/warzone2100 --window --debug all 2>err.txt

Program exited with code 0177.

... :o
I forgot to mention the libs.  I think you also need libpopt (http://directory.fsf.org/project/popt/)

Anyway, your issue is that it didn't install QuesoGLC.  [error while loading shared libraries: libGLC.so.0: cannot open shared object file: No such file or directory]
Try getting the source, then once that is compiled, do a make install on that one (maybe sudo make install), and hopefully it will work.
If not, post again. :)
and it ends here.
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Can't load savegame in ubuntu gutsy

Post by Giel »

juicymixx wrote: For anyone else who is interested, install these via synaptic (or aptitude or apt-get) before you start Buginator's instructions:
bison
flex
libphysfs-dev
libsdl-netx.y-dev (where x.y is some number, probably 1.2)
Actually you need to install all build dependencies mentioned in "debian/control". To do that automatically use this:

Code: Select all

sudo aptitude install $(grep ^Build-Depends debian/control | sed s/^Build-Depends[^:]*:\ //g | sed s/,\ /\ /g | sed s/\ \([^\)]*\)//g)
It'll grab the build dependencies list from debian/control and pass it to aptitude for installation.
juicymixx wrote: (gdb) run --window --debug all 2>err.txt
You could try this instead:

Code: Select all

run --window --debug all --debugfile err.txt
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
juicymixx
Greenhorn
Posts: 7
Joined: 05 Nov 2007, 01:30

Re: Can't load savegame in ubuntu gutsy

Post by juicymixx »

okay, thanks to Giel and Buginator for getting me up and running!  Oddly the error I was experiencing went away by itself.  I just realized that someone else posted almost the exact same error here:
index.php?topic=1152.msg10272

I checked, and I don't have an /etc/ld.conf ..?  (I do have an /etc/ld.so.conf )

However, everything is working now.  Saved games load and run as expected, and sounds are all there.  The only issue I'm having is an odd font problem during the game:
error  : glcFontFace(GLC_Font_Bold (2), "Bold") failed
which doesn't stop the program from running, but just makes the gaming experience a little less pretty.

Thanks again! ;)
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Can't load savegame in ubuntu gutsy

Post by Giel »

juicymixx wrote: error  : glcFontFace(GLC_Font_Bold (2), "Bold") failed
All that means is that the bold font face cannot be found (and thus not be used).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Can't load savegame in ubuntu gutsy

Post by DevUrandom »

Giel wrote: All that means is that the bold font face cannot be found (and thus not be used).
Which, for some reason, happens everywhere everytime, so we might want to have a look at that. ;)
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Can't load savegame in ubuntu gutsy

Post by Giel »

DevUrandom wrote: Which, for some reason, happens everywhere everytime, so we might want to have a look at that. ;)
Well, for some reason it never happens to me, whatever system I try to run warzone on (which is just three...).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
daskalos
New user
Posts: 4
Joined: 28 Nov 2007, 20:41

Re: Can't load savegame in ubuntu gutsy

Post by daskalos »

Giel wrote: Well, for some reason it never happens to me, whatever system I try to run warzone on (which is just three...).
It happened to me also but only with the daily snapshot. With svn didn;t
patdeitzel
New user
Posts: 2
Joined: 01 Dec 2007, 20:13

Re: Can't load savegame in ubuntu gutsy

Post by patdeitzel »

juicymixx wrote: okay, this is going OT, but I can't seem to get warzone2100 to start after following the directions you posted.  I did get QuesoGLC installed, and warzone2100 made it through the ./configure, make, and sudo make install with no errors (finally).  Now when I run warzone2100 I get:
$ warzone2100
warzone2100: error while loading shared libraries: libGLC.so.0: cannot open shared object file: No such file or directory
I am getting this same error when trying to launch... gdb gives me this same error as well with the 0177 exit code.

I tried the restart "fix" but still getting this same error.  Do I maybe have to create a link to libGLC somewhere?

Anyone else seeing this or have any suggestions?  Thanks