Linux install script problem

Soldato
Joined
30 Dec 2004
Posts
2,869
Location
Stoke-on-Trent
Trying to install a prog on linux from a cd using the supplied script but is not letting me, keeps coming up with

"sudo: unable to execute ./INST_RLS: Permission denied"

thought beforehand I thought it was becasue I was not running as root and I was getting this

"bash: ./INST_RLS: /bin/sh: bad interpreter: Permission denied"

I'm no linux guru so I'm stumped....

(its a old prog from about 1999 but that shouldn't make a difference shoudl it?)
 
Soldato
OP
Joined
30 Dec 2004
Posts
2,869
Location
Stoke-on-Trent
Ah good point - have no idea and I'll check when I get home. However it is on a mounted CD so I don't think you can change the permissions as it'll be read only - is it worth copying the CD locally and trying to install from the local drive?

edit: I'musing ubuntu 6.[3?] (I think) and checking the read only files it says that the linux version was compiled for Redhat (5.3 ?) - shouldn't make a differance should it.
 

Una

Una

Associate
Joined
26 Nov 2004
Posts
2,471
Location
Reading / Lake District
Depends how it is linked (statically or dynamically linked) and a few other things. Usually if its for the same architecture it should work. But your having problems with the script? (Is that not just a bash script - not binary) Redhat will have different paths from Ubuntu so that may cause problems but the error you show does not look like that.

Also you may wish to try sh SCRIPTNAME instead of ./SCRIPTNAME if its on read only media.
 
Last edited:
Back
Top Bottom