You are not logged in.
Pages: 1
$ ./configure
-bash: ./configure: /bin/sh: bad interpreter: Permision denied
It's on new system
What can i do whit it ?
Offline
try it from the root
Offline
I try do configure on root, and there isn't any change
Offline
sounds like it is not executable check the permissions on the file then change accordingly.
AKA uknowme
I am not your friend
Offline
My guess is the script is dos formatted. That means that all lines end with <CR><LF>, but in unix it just needs <LF>.
The problem is that your editor sees dos and just converts the end lines, but bash sees /bin/sh<CR>. Run dos2unix on the script.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
My guess is the script is dos formatted. That means that all lines end with <CR><LF>, but in unix it just needs <LF>.
The problem is that your editor sees dos and just converts the end lines, but bash sees /bin/sh<CR>. Run dos2unix on the script.
dos2unix is in pkg hd2u in [extra]
The impossible missions are the only ones which succeed.
Offline
$ ./configure -bash: ./configure: /bin/sh: bad interpreter: Permision denied
It's on new system
What can i do whit it ?
where is this "configure" from? maybe more infos can help
The impossible missions are the only ones which succeed.
Offline
please help me, i have the same problem on a new installed system...
have also tried a small shell script in it dosnt work (unix lineendings):
my test-script (rights 755)
#!/bin/sh
echo "test"
./test.sh
bash: ./test.sh: /bin/sh: bad interpreter: Permission denied
this works...
/bin/sh test.sh
test
with root i have the same problem
Offline
Do you have a noexec option in /etc/fstab?
I have nothing to say, and I am saying it.
Offline
try google "bad interpreter: Permission denied"
particularly
https://www.redhat.com/archives/fedora- … 04453.html
check vim is saving as unix file by using
:set fileformat=unix and then saving
try also checking /etc/fstab that you have something like
/dev/discs/disc0/part3 / reiserfs defaults 0 0
the "default" part is the important part
.
Offline
thank you. i'm so stupid. google, my friend, has for all an answer.
Offline
/bin/sh test.sh
will execute test.sh even when test.sh is not executable. If it is not executable then you get "Permission denied" when you try
./test.sh
chmod u+x test.sh
and read the man page for more on chmod.
--(*(cs25x--));
Offline
new system? Did you update?
pacman -Syu
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Pages: 1