LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2004, 03:39 PM   #1
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
./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,
 
Old 09-23-2004, 04:13 PM   #2
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
did you chmod the file to flag it as executable?
 
Old 09-23-2004, 04:54 PM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Original Poster
Rep: Reputation: 62
yes i did

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

but still the problem.

Tux,
 
Old 09-23-2004, 06:50 PM   #4
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Rep: Reputation: 30
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.
 
Old 09-24-2004, 11:24 AM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Original Poster
Rep: Reputation: 62
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
 
Old 09-24-2004, 11:35 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hoi,

maybe take a look here.....:

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

egag
 
Old 09-24-2004, 11:58 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ./configure Chtiman Linux - Software 1 01-04-2005 09:53 AM
./configure problem :( moskal Mandriva 23 08-15-2004 10:33 PM
problem with ./configure vijay_souri Linux - Software 0 06-07-2004 12:04 PM
.\configure PROBLEM mla Linux - Software 13 10-13-2003 04:01 PM
configure problem. qanopus Linux - General 9 12-17-2002 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration