Warzone2100 Version
2.0.5 (downloaded the .autopackage file yesterday, then after it failed I downloaded the source today)
Operating System
Linux, Kubuntu 6.10 "Edgy" AMD64, 2.6.17-10 kernel
Hardware Information
ASUS A8N-VM CSM motherboard, AMD64 X2 4400+ (Socket 939 version) CPU, GeForce 7800 GTX (PCI-Express) with the 1.0.8776 drivers (yeah, not the latest, but the latest Ubuntu packages and I haven't felt the need to update yet).
Warzone2100 Configuration
Err, haven't gotten to that part yet
Bug Description
At first I thought "hey, I have to use sh right?" thinking it was basically a shell script. Naturally this didn't work:
philurich@foundation:/media/sda7/download/games/warzone2100$ sh warzone2100-2.0.5.package
warzone2100-2.0.5.package: 33: Syntax error: "(" unexpected (expecting "fi")
So I checked the autopackage website and realized "ohhh, right, just gotta use bash....it's not just a shell script, duhhh" and I tried that. Things appeared to be go swimmingly! However, the download fails. Trying to find out why I came across the information that autopackage apparently doesn't work on anything other than 32-bit x86 yet. So, I bit the bullet and tried to compile. After a few errors with missing things (Ubuntu doesn't have stuff like automake installed by default, alas) and going over to root to avoid persistent "permission denied" errors, I ended up doing this:
As you can see, still doesn't work in the end. As far as I can tell, the relevant portion of config.log goes like this:what I did in the commandline wrote: root@foundation:/media/sda7/download/games/warzone2100/warzone2100-2.0.5# sh aut
ogen.sh
+ checking for autoconf >= 2.56 ... found 2.60, ok.
+ checking for automake >= 1.8 ... found 1.9.6, ok.
+ creating acinclude.m4
+ running aclocal ...
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
+ running autoheader ...
+ running autoconf ...
+ running automake ...
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
lib/framework/Makefile.am: installing `./depcomp'
configure.ac: installing `./ylwrap'
configure.ac:27: installing `./config.guess'
configure.ac:27: installing `./config.sub'
+ removing config.cache ...
Now type './configure && make' to compile.
root@foundation:/media/sda7/download/games/warzone2100/warzone2100-2.0.5# ./conf
igure && make
bash: ./configure: /bin/sh: bad interpreter: Permission denied
root@foundation:/media/sda7/download/games/warzone2100/warzone2100-2.0.5# sh ./c
onfigure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
config.log wrote:configure:2583: $? = 1
configure:2606: checking for C compiler default output file name
configure:2633: gcc conftest.c >&5
configure:2636: $? = 0
configure:2682: result: a.out
configure:2687: checking whether the C compiler works
configure:2697: ./a.out
./configure: line 2698: ./a.out: Permission denied
configure:2700: $? = 126
configure:2709: error: cannot run C compiled programs.
Now, I'm fully aware that this likely just won't work, especially (a) reading other related posts around here, and (b) just the general lack of things properly working for AMD64, but what can I say, I'm stubborn (as evidenced by my use of 64-bit Linux, I suppose!), I'd at least like to get to the point where it fails more spectacularly instead of what is likely still an foolish little mistake on my part. I'm also trying to be able to create a .dmg file for my Mac-using friends, since we're planning on playing this LAN tomorrow at my place, and the failure of the makedmg.sh script certainly might be tied to this failure...I'm trying to take this task one step at a time, and admittedly I'm not very knowledgeable about *nix yet (but I'm trying, oh I'm trying!).
So if anyone had any ideas, that'd be awesome. I played the game for the first time yesterday, against one of my friends using his two computers, and it was a hell of a lot of fun, so I'd love to crack the puzzle of how to install this game on as many systems as possible