Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-05-2003, 11:23 PM   #1
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
acconfig.h config.layout LAYOUT README.platforms
acinclude.m4 configure libhttpd.dsp server
Apache.dsp LICENSE srclib
Apache.dsw docs support emacs-style 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
Old 06-05-2003, 11:26 PM   #2
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, 11:34 PM   #3
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, 11:42 PM   #4
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
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:
Configure X server:
Configure 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 11:47 PM.
Old 06-06-2003, 12:05 AM   #5
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.


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 07:05 AM
/bin/sh: bad interpreter: Permission denied itsaso Linux - Newbie 6 05-18-2005 11:00 AM
: bad interpreter: Permission denied LinuxRam Linux - Newbie 2 08-22-2004 10:33 PM
/bin/sh: bad interpreter: Permission denied linmix Linux - Software 12 08-16-2004 07:40 AM
perl: bad interpreter: Permission denied bulliver Linux - Software 4 01-27-2003 04:12 PM > Forums > Linux Forums > Linux - Software

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

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