LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2003, 10:23 PM   #1
docesam
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 1
bad interpreter: Permission denied when compile any program


hi i tried to install apache 2 on my redhat linux 7.3 , but no hope look at this ....

[root@linux httpds]# ls
ABOUT_APACHE CHANGES InstallBin.dsp README
acconfig.h config.layout LAYOUT README.platforms
acinclude.m4 configure libhttpd.dsp server
Apache.dsp configure.in LICENSE srclib
Apache.dsw docs Makefile.in support
apachenw.mcp.zip emacs-style Makefile.win test
build httpd.spec modules VERSIONING
BuildBin.dsp include NWGNUmakefile
buildconf INSTALL os
[root@linux httpds]# ./configure
: bad interpreter: Permission denied



not only apache2 but any software ,cannot compile from source at all ,help please
thanks
 
Old 06-05-2003, 10:26 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Apparently you haven't installed the developmental packages.

You didn't say what your distro is, so that is as much help as I can give.
 
Old 06-05-2003, 10:34 PM   #3
docesam
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Original Poster
Rep: Reputation: 1
it is redhat 7.3

what is the "developmental packages" ??
 
Old 06-05-2003, 10:42 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
The various libraries and compilers needed to compile binary code from source code (what you are trying to do).

You could just install the rpms on your installation disks rather than compiling it. Try gnorpm to install it.

# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

# Guides to software and installation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation

Last edited by fancypiper; 06-05-2003 at 10:47 PM.
 
Old 06-05-2003, 11:05 PM   #5
chr
LQ Newbie
 
Registered: May 2003
Location: Reunion Island
Distribution: RedHat 6.2 , RedHat9.0, Slackware9.0
Posts: 10

Rep: Reputation: 0
I'm not sure, I believe I have already had this kind of error.

In my case,
^^^^^^^
it was because I didn't have permission to execute files on the filesystem where the exe file was.
In my /etc/fstab I have allowed non-root user to mount the filesystem. When u do this, by default the noexec option is active.
Therefore u cannot exec files. Then I have use the exec option in /etc/fstab to solve the problem.

I hope this can help you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bash: bad interpreter, permission denied jpantone Linux - General 22 05-27-2010 06:05 AM
/bin/sh: bad interpreter: Permission denied itsaso Linux - Newbie 6 05-18-2005 10:00 AM
: bad interpreter: Permission denied LinuxRam Linux - Newbie 2 08-22-2004 09:33 PM
/bin/sh: bad interpreter: Permission denied linmix Linux - Software 12 08-16-2004 06:40 AM
perl: bad interpreter: Permission denied bulliver Linux - Software 4 01-27-2003 03:12 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration