LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ./configure problem (https://www.linuxquestions.org/questions/linux-newbie-8/configure-problem-234432/)

tuxrules 09-23-2004 03:39 PM

./configure problem
 
Hi,
I'm using Slackware 10 (freshly reinstalled) right now and i've encountered a rather strange problem (at least to me...). I issued the following command after extracting a source package.

Code:

./configure
and here's the output that I got.

Quote:

-su: ./configure: /bin/sh: bad interpreter: Permission denied
never actually seen something like this since i've started using Linux. Any ideas. Oh...BTW i tried installing Real player 10 gold using a .bin file and it constantly gave me permission denied message. Yes, I am root so I guess i should be able to install anything.

Tux,

sirpimpsalot 09-23-2004 04:13 PM

did you chmod the file to flag it as executable?

tuxrules 09-23-2004 04:54 PM

yes i did

FYI...
# chmod a+x RealPlayer10GOLD.bin

but still the problem.

Tux,

pongmaster 09-23-2004 06:50 PM

You don't run a ./configure command on RealPlayer, that's why you're getting the error.
The install sequence should be:
Code:

chmod a+x RealPlayer10GOLD.bin
./RealPlayer10GOLD.bin

When you run the ./ command, it'll ask you where you want to install it etc etc, you should be OK from there.

tuxrules 09-24-2004 11:24 AM

I didnt run the "./configure" on real player installation. Here's what I did for real player

# chmod a+x RealPlayer10GOLD.bin
# ./RealPlayer10GOLD.bin

but it gives me the permission error.

Also is the case when i use "./configure" on any source package. I gives me the following error.

-su: ./configure: /bin/sh: bad interpreter: Permission denied

This is strange...never had such an issue ever with any linux i've tried.

Tux,

edit: I did all this being root

egag 09-24-2004 11:35 AM

hoi,

maybe take a look here.....:

http://www.linuxquestions.org/questi...04/01/2/133622

egag

egag 09-24-2004 11:58 AM

i read this:
-------------
I'll answer my own question with....

I've found sh.exe and placed this is /bin and it's now running
configure. I'll see how it goes, but any other advice is welcome on this
matter.
--------------

in my Slack:

egag@egag12:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2004-08-02 15:54 /bin/sh -> bash*

/bin/sh is a link to 'bash'

egag


All times are GMT -5. The time now is 02:09 AM.