[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #! /bin/sh bash problem
From: |
John B. Brown |
Subject: |
Re: #! /bin/sh bash problem |
Date: |
Sun, 30 Mar 2008 11:20:03 -0600 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080213) |
Dear Bob,
Thank you for that reminder of my mortality.
Bob Proulx wrote:
John B. Brown wrote:
Description: Attempting to run 'configure', or any shell
script with #! /bin/sh, results in the error message:
"bash: ./configure: /usr/bin/bash: bad interpreter:
Permission denied"
I suspect that the permissions on /usr/bin/bash are preventing you
from running it. What does this following say?
ls -ld /usr/bin/bash
Also, /usr/bin/bash is not a normal location for bash. Normally bash
would reside in /bin/bash . Perhaps you also have one there?
ls -ld /bin/bash /usr/local/bin/bash
Bob
jbb@pinball:~
(23):% ls -ld /usr/bin/bash /bin/bash /usr/local/bash
/bin/ls: cannot access /usr/local/bash: No such file or
directory
-rwsrwsr-x 1 root root 604040 2007-09-21 16:16 /bin/bash*
-rwxr-xr-x 1 root root 2037410 2008-01-30 05:35 /usr/bin/bash*
jbb@pinball:~
(24):% /usr/bin/bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
jbb@pinball:~
(25):% /bin/bash --version
GNU bash, version 3.2.25(1)-release (i586-suse-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
jbb@pinball:~
Argh! I guess I get to REMOVE the bash I installed in
error in that piece of junk location.
So much for compiling by myself.
I must remember to set the proper --prefix in the configure
process; dueling bashes just doesn't make it.
Shalom,
John B. Brown.
[jbb@vcn.com]
358 High Street,
Buffalo, Wyoming
82834
"Freedom is not worth having if it does not include
the freedom to make mistakes" Mahatma Gandhi
"It is useless to attempt to reason a man out of
what he was never reasoned into." Jonathan Swift
"A man who does not know the truth is just an idiot but
a man who knows the truth and calls it a lie is a crook."
Bertolt Brecht
"If any question why we died,
tell them, because our fathers lied." Rudyard Kipling