LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   bad interpreter: Permission denied when compile any program (https://www.linuxquestions.org/questions/linux-software-2/bad-interpreter-permission-denied-when-compile-any-program-63952/)

docesam 06-05-2003 10:23 PM

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

fancypiper 06-05-2003 10:26 PM

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.

docesam 06-05-2003 10:34 PM

it is redhat 7.3

what is the "developmental packages" ??

fancypiper 06-05-2003 10:42 PM

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

chr 06-05-2003 11:05 PM

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.


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