Issues with Linux

Locked
I cant spell u
Posts: 1328
Joined: Sat Nov 05, 2005 1:00 am

Issues with Linux

Post by I cant spell u »

I've been trying to get a few linux apps to work, but they don't.
To be specific, ezquake, pbsetup, and some other quakeworld clients.

I try to execute them using sh and I get this error in return:

ezquake.svga: 1: Syntax error: word unexpected (expecting ")")

or

glqwcl.glx: 1: Syntax error: "(" unexpected


I'm not sure what the problem is.
I'm using ubuntu feisty fawn (7.04)
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Do the files contain the shebang (the #/path/to/interpreter bit at the top) and what does /bin/sh point to (ls -l)? Might be that those scripts expect bash but that you are running e.g. tcsh.
I cant spell u
Posts: 1328
Joined: Sat Nov 05, 2005 1:00 am

Post by I cant spell u »

^misantropia^ wrote:Do the files contain the shebang (the #/path/to/interpreter bit at the top) and what does /bin/sh point to (ls -l)? Might be that those scripts expect bash but that you are running e.g. tcsh.
I'm not sure, I'm not too familiar with linux that well.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Well, what do the files look like when you open them in an editor?
I cant spell u
Posts: 1328
Joined: Sat Nov 05, 2005 1:00 am

Post by I cant spell u »

I should be using xinit to execute the glx file, when I do I get this error:

xinit ezquake-gl.glx

X: warning; process set to priority -1 instead of requested priority 0

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

xinit is for first starting X (the windowing system), then the program of your choice. But since you're already running X, you can drop that bit.
I cant spell u
Posts: 1328
Joined: Sat Nov 05, 2005 1:00 am

Post by I cant spell u »

^misantropia^ wrote:Well, what do the files look like when you open them in an editor?
Could not open the file /home/collin/Desktop/ezquake/ezquake-gl.glx using the Unicode (UTF-8) character coding.
Glockg
Posts: 48
Joined: Sat Jan 01, 2000 8:00 am

Post by Glockg »

Why don't you give quakeforge a try. Don't know too much about ezquake.
I cant spell u
Posts: 1328
Joined: Sat Nov 05, 2005 1:00 am

Post by I cant spell u »

Alright I got ezQuake to run, but now I get slurred and suttering sounds.
Locked