You are not logged in.

#1 2005-02-26 20:10:02

Miszcz
Member
Registered: 2004-09-25
Posts: 24

./configure error :/

$ ./configure
-bash: ./configure: /bin/sh: bad interpreter: Permision denied

It's on new system
What can i do whit it ?

Offline

#2 2005-02-26 20:15:48

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: ./configure error :/

try it from the root

Offline

#3 2005-02-26 20:57:48

Miszcz
Member
Registered: 2004-09-25
Posts: 24

Re: ./configure error :/

I try do configure on root, and there isn't any change

Offline

#4 2005-02-27 12:15:11

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: ./configure error :/

sounds like it is not executable check the permissions on the file then change accordingly.


AKA uknowme

I am not your friend

Offline

#5 2005-03-05 20:16:44

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: ./configure error :/

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

#6 2005-03-05 22:36:05

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ./configure error :/

Xentac wrote:

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

#7 2005-03-05 22:38:06

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ./configure error :/

Miszcz wrote:
$ ./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

#8 2005-04-05 01:16:24

notz
Member
From: Graz, Austria
Registered: 2005-04-05
Posts: 23

Re: ./configure error :/

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

#9 2005-04-05 01:28:50

smith
Member
From: Crescent City, CA
Registered: 2005-02-19
Posts: 77

Re: ./configure error :/

Do you have a noexec option in /etc/fstab?


I have nothing to say, and I am saying it.

Offline

#10 2005-04-05 01:34:53

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: ./configure error :/

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

#11 2005-04-05 07:19:34

notz
Member
From: Graz, Austria
Registered: 2005-04-05
Posts: 23

Re: ./configure error :/

thank you. i'm so stupid. google, my friend, has for all an answer.

Offline

#12 2005-04-05 07:23:55

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: ./configure error :/

/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

#13 2005-04-05 07:26:11

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: ./configure error :/

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

Board footer

Powered by FluxBB