LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   urban-terror install problem (https://www.linuxquestions.org/questions/slackware-14/urban-terror-install-problem-804395/)

grimx 04-26-2010 08:22 PM

urban-terror install problem
 
i downloade urban terror from this site
http://www.urbanterror.info/docs/texts/110/

i unziped it, gave exe rights to ioUrbanTerror.x86_64
but when i try to execute it i get this:
bash: ./ioUrbanTerror.exe: cannot execute binary file

dive 04-26-2010 08:29 PM

edit: sorry just reread.

T3slider 04-26-2010 08:34 PM

...I don't know if I'm misreading this as well...but you want to run `./ioUrbanTerror.x86_64`, not `./ioUrbanTerror.exe`. Urban Terror works fine for me...though I think I had to modify the config file manually after it tried to set my refresh rate too high. But it's been a while since I first installed it so I'm not positive about that.

dive 04-26-2010 09:05 PM

Ok Just downloaded and did the same as but chmod'd the ioUrbanTerror.i386* ran it and it worked fine.

I don't have 64bit to try out unfortunately but maybe someone can help.

grimx 04-26-2010 09:09 PM

i ran ./ioUrbanTerror.x86_64
and i still get bash: ./ioUrbanTerror.x86_64: cannot execute binary file

here are the rights for it
-rwx-----

grimx 04-26-2010 09:14 PM

here are the file after unziping UrbanTerror_41_FULL.zip
Code:

.                ioUrbanTerror Source.url  ioUrbanTerror_COPYING.txt
..              ioUrbanTerror.app        ioUrbanTerror_Logitech_Game_Recognition.reg
ioUrTded.exe    ioUrbanTerror.exe        ioUrbanTerror_README.txt
ioUrTded.i386    ioUrbanTerror.i386        ioUrbanTerror_id-readme.txt
ioUrTded.x86_64  ioUrbanTerror.x86_64      q3ut4


T3slider 04-26-2010 09:53 PM

Post the output of the following commands:
Code:

$ uname -m
$ file ioUrbanTerror.x86_64
$ md5sum ioUrbanTerror.x86_64

It should be noted that slackbuilds.org now has a SlackBuild for Urban Terror that would (I assume) install it globally. Running it out of my home directory as you are trying to do has always worked for me.

grimx 04-26-2010 09:59 PM

uname -m
i686

file ioUrbanTerror.x86_64
ioUrbanTerror.x86_64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

md5sum ioUrbanTerror.x86.64
md5sum: ioUrbanTerror.x86.64: No such file or directory

T3slider 04-26-2010 10:07 PM

Quote:

Originally Posted by grimx (Post 3948784)
uname -m
i686

It looks like you're running 32-bit Slackware. Try `./ioUrbanTerror.i386` (make sure it is executable of course).

MannyNix 04-26-2010 10:09 PM

Quote:

Originally Posted by grimx (Post 3948784)
md5sum: ioUrbanTerror.x86.64: No such file or directory

Isn't it a typo?
Try md5sum ioUrbanTerror.x86_64

If you still have the original file, try md5sum UrbanTerror_41_FULL.zip
The official site has 1370306ea236f65f595e7ca70765e469

GL

grimx 04-26-2010 10:20 PM

md5sum ioUrbanTerror.x86_64
bbf0d47eb4b012c749a18a56aea3fe4f ioUrbanTerror.x86_64

well i installed slackware 13 64 bit.

grimx 04-26-2010 10:22 PM

running the i386 version produced this output
Code:

./ioUrbanTerror.i386                               
ioQ3 1.35urt linux-i386 Dec 20 2007                                                                       
----- FS_Startup -----                                                                                   
Going through search path...                                                                             

----------------------
8032 files in pk3 files
execing default.cfg   
couldn't exec q3config.cfg
execing autoexec.cfg     
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.       
----- Initializing Renderer ----
------------------------------- 
QKEY building random string     
QKEY generated                 
----- Client Initialization Complete -----
----- R_Init -----                       
...loading libGL.so.1:                   
Calling SDL_Init(SDL_INIT_VIDEO)...     
SDL_Init(SDL_INIT_VIDEO) passed.         
Initializing OpenGL display             
...setting mode 4: 800 600               
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
Couldn't get a visual
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
SDL_SetVideoMode failed: Could not create GL context
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


grimx 04-26-2010 10:24 PM

ok i downloaded and installed Ubuntu 9.10 64 bit
then i downloaded and installed Slackware 13 64 bit.

why is it that only the i386 version runs ??

grimx 04-26-2010 11:44 PM

i fixed the gl problem.
now i just need to set the resolution.

lostnhell 05-02-2010 11:41 PM

I am the maintainer of the UrbanTerror slackbuild (http://slackbuilds.org/repository/13...s/UrbanTerror/) on slackbuild.org, my build script is set to remove the unneeded executables and link only to the correct executables for your system's architecture. If you are running the application from my slackbuild and have issues, feel free to e-mail me at the address listed in the build script and I can attempt to help. If you already have a thread about your issue on this forum then please include a link to it in your e-mail.


All times are GMT -5. The time now is 11:43 AM.