You are not logged in.

#1 2010-09-22 23:43:24

MilesRedfield
Member
Registered: 2010-09-22
Posts: 8

[SOLVED] Can't launch gridwars "no such file or directory"

First of all, I just moved to arch from ubuntu. Gotta say I like it. I'm getting to know linux a lot better.

Anyway, I pulled gridwars off of my old ubuntu machine, 'cause I remember it being a pretty fun game. After copying the install folder to my new computer, I ran

./gridwars

and got

bash: ./gridwars: No such file or directory

back as the output. The game doesn't launch.

I've checked ls -l and the gridwars executable is executable and i'm using tab to autocomplete so the name should be right... I'm kind of puzzled as to why it's telling me the file doesn't exist, instead of giving some other error. At any rate, I thought it would be a good idea to download the game again and drop a fresh install. The issue still persists.


[miles@tornado GridWars]$ ls -l
total 3248
-rw------- 1 miles users   95288 Feb 17  2006 bass.dll
-rw------- 1 miles users    3302 Mar  9  2006 Config.txt
drwx------ 6 miles users    4096 Mar 14  2006 gfx
-rwxr-xr-x 1 miles users  529332 Mar 15  2006 gridwars
-rw-r--r-- 1 miles users 2674346 Sep 22 18:14 gridwars_lin.zip
-rw-r--r-- 1 miles users     848 Jul  3  2009 hiscores.dat~
drwx------ 2 miles users    4096 Mar 14  2006 music
drwx------ 2 miles users    4096 Mar 14  2006 sounds
[miles@tornado GridWars]$ ./gridwars
bash: ./gridwars: No such file or directory



Any ideas?

Last edited by MilesRedfield (2010-09-23 15:59:35)

Offline

#2 2010-09-23 00:05:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't launch gridwars "no such file or directory"

Try this http://aur.archlinux.org/packages.php?ID=18160
I downloaded the game from http://gridwars.marune.de/ , installed libstdc++5 and it run.

Last edited by karol (2010-09-23 00:13:04)

Offline

#3 2010-09-23 00:24:49

MilesRedfield
Member
Registered: 2010-09-22
Posts: 8

Re: [SOLVED] Can't launch gridwars "no such file or directory"

>I downloaded the game from http://gridwars.marune.de/ , installed libstdc++5 and it run.

That's the exact proces I went through, but I keep getting this "no such file or directory" error.

about the link you posted, I went there and clicked the PKGBUILD link, which downloaded a different set of files. When I tried to run one of the executables in that set, I got some errors about missing files in
/usr/share/games/gridwars/
, but /usr/share/games/ didn't even exist. The error was about a file called "gridwars" not being present in that directory, so I copied it over there, and now i'm still getting
/usr/bin/aoss: line 10: /usr/share/games/gridwars/gridwars: No such file or directory
/usr/bin/aoss: line 10: /usr/share/games/gridwars/gridwars: Success
which is pretty much the same error.
hmm

Offline

#4 2010-09-23 00:26:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't launch gridwars "no such file or directory"

What's the output of 'pacman -Q libstdc++5'?

Offline

#5 2010-09-23 00:31:28

MilesRedfield
Member
Registered: 2010-09-22
Posts: 8

Re: [SOLVED] Can't launch gridwars "no such file or directory"

libstdc++5 3.3.6-3

Offline

#6 2010-09-23 01:44:29

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [SOLVED] Can't launch gridwars "no such file or directory"

Offline

#7 2010-09-23 03:40:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Can't launch gridwars "no such file or directory"

MilesRedfield,

I take it that you're on 64 bit? If so, you're trying to run a 32 bit binary without the proper 32 bit libraries. The AUR page looks as if that's been handled, so I'd try that.

Offline

#8 2010-09-23 15:24:02

MilesRedfield
Member
Registered: 2010-09-22
Posts: 8

Re: [SOLVED] Can't launch gridwars "no such file or directory"

Oh ok. I was not aware of what the AUR was, really.

I'll check into it, thanks.

Later:

WHEW. Ok, so after some searching I enabled the multilibs repo so I could grab a couple packages that the PKGBUILD needed. The arch wiki's page about enabling multilibs had a couple dependencies listed (mostly stuff associated with gcc with "multilibs" tacked on the end of it). Some of them needed to overwrite packages I already had. I assume this is safe; logic dictates that the multilibs counterparts will have all the functionality of the base-level packages with 32-bit emulation support. Just checking though, this is OK, right?

:: binutils-multilib and binutils are in conflict. Remove binutils? [y/N] y
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] y
:: gcc-multilib and gcc are in conflict. Remove gcc? [y/N] y
:: libtool-multilib and libtool are in conflict. Remove libtool? [y/N] y


anyway after I made the package from the PKGBUILD as per the instructions on the AUR page, I'm getting this:

[miles@tornado ~]$ gridwars
/usr/bin/gridwars: line 3: aoss32: command not found

I'm looking around for what package has that command in it, but no luck so far. A couple of pages mention
emul-linux-x86-soundlibs
but that seems to be a gentoo package.

I found this:
http://aur.archlinux.org/packages/lib32 … oss/aoss32
which seems to imply that aoss32 is just a script that I need to drop into the right directory...

Last edited by MilesRedfield (2010-09-23 15:40:20)

Offline

#9 2010-09-23 15:43:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't launch gridwars "no such file or directory"

alsa-oss is in [extra] for both 32 and 64-bit. lib32-alsa-oss from [multilib] doesn't have any binary (ie. nothing from /ussr/bin).

Edit: OK, so you've found it :-)

Last edited by karol (2010-09-23 15:44:07)

Offline

#10 2010-09-23 15:48:27

MilesRedfield
Member
Registered: 2010-09-22
Posts: 8

Re: [SOLVED] Can't launch gridwars "no such file or directory"

YES! IT WORKS NOW!

I had to drop the aforementioned script into /usr/bin and chmod it to add execute permissions, in case anyone comes back to this thread with the same problem.

shouldn't there be a package that creates this script automatically, though?
also, how do I mark a thread as solved?

Last edited by MilesRedfield (2010-09-23 15:51:28)

Offline

#11 2010-09-23 15:54:55

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Can't launch gridwars "no such file or directory"

MilesRedfield wrote:

also, how do I mark a thread as solved?

Edit your first post and prepend [SOLVED] to the title

Offline

#12 2010-09-23 17:52:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Can't launch gridwars "no such file or directory"

MilesRedfield wrote:

I had to drop the aforementioned script into /usr/bin and chmod it to add execute permissions, in case anyone comes back to this thread with the same problem.

shouldn't there be a package that creates this script automatically, though?

You should probably file a bug report.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#13 2010-09-23 23:09:05

MilesRedfield
Member
Registered: 2010-09-22
Posts: 8

Re: [SOLVED] Can't launch gridwars "no such file or directory"

>You should probably file a bug report.

gotcha.
https://bugs.archlinux.org/task/20924

Offline

#14 2010-09-23 23:15:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't launch gridwars "no such file or directory"

Maybe you should rather ask the gridwars AUR package maintainer to add it as a dependency?

Offline

Board footer

Powered by FluxBB