Conor Lennon wrote:
> # which sh
> /bin/sh
> # ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Jan 12 2000 /bin/sh -> bash
> # ls -l /bin/bash
> -rwxr-xr-x 1 root root 442760 Oct 25 2001 /bin/bash
>> deleting the space makes no difference.
>> Some information I forgot to mention:
> ./configure doesn't work but sh configure does.
>> Conor
>> John McAree (HSA) wrote:
>>> Hi,
>>>>>>>>> # ./configure
>>> bash: ./configure: bad interpreter: Permission denied
>>>>>> The first line of the configure script is
>>> #! /bin/sh
>>>>>> The file attributes seem ok:
>>> # ls -l configure
>>> -rwxr-xr-x 1 1000 users 423782 Jun 5 18:18 configure
>>>>>>>>> This sounds more like it's having a problem running /bin/sh...try
>> checking the
>> permissions on that...
>>>> Oh, and I'm not sure whether it's convention, but there usually isn't
>> a space
>> after #!...it could be causing a problem too...
>For correctness there *should be a space*.
>>>> John.
>>>>>>>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!