Re: ./configure command



On Thu, 29 Mar 2007, Tavanda Kosan <turansaracoglu@xxxxxxxxx> wrote:-

<snip>

here is the result of that command.


-rw-r--r-- 1 kesikkafa users 269409 Oca 15 17:43 configure

so is it okay ? what i have to do ?

It's not executable which is why even root get the permission denied
error. To fix that, you can either use one of two commands. If you use
either:

bash configure

or:

sh configure

that will start a new shell that will execute the script. This is a
quick method of calling the script, but you'll need to remember to do
this each time you want to use this particular configure script. If it's
only ever going to be called once, this will be slightly faster due to
having less to type.

The other choice is to set the executable flags on the file using:

chmod 755 configure

This makes it so that you don't need to remember to call the script
using a new shell, but for a once-off involves a little more typing.
This would be my personal preference, since I rarely call a configure
script just the once.


Regards,
David Bolt

--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
RISCOS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISCOS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a2 32bit
.



Relevant Pages

  • Re: shell scripting
    ... and am assuming an sh-compatible shell here.... ... command 1 options arguments ... To run the script, do: ... then you need to use the full path to execute it: ...
    (comp.unix.questions)
  • Re: shell scripting
    ... and am assuming an sh-compatible shell here.... ... command 1 options arguments ... To run the script, do: ... then you need to use the full path to execute it: ...
    (comp.unix.shell)
  • Re: Script Header
    ... > On a shell script, ... > You can TRY to execute a garbage file. ... > filename: Exec format error. ... - The shell will check whether this file has the executable flag set, ...
    (comp.unix.shell)
  • Re: newbie question: cant get script to execute
    ... I saved this in a script "process.bsh". ... The typical name for a shell script it .sh, and this is not a shell ... > I chmod to 777 and still get "cannot execute". ... the error message is distinct and far ...
    (comp.lang.perl.misc)
  • Re: Access denied
    ... > Try changing your shell to /bin/sh and then try running the script from the ... >>> I can not run shell. ... >>That typically comes when trying to execute on non Linux filesystems. ... the partition with the "Access denied problem" is reiserfs ...
    (perl.beginners)