![]() |
|
#1
|
|||
|
|||
Install problemHi Guys, I'm an Apache newbie and struggling to install Apache 2.0.48 on Fedora Linux. When I try to run the configure script (with or without the prefix argument) I get an error : bad interpreter: no such file or directory Any clues ?? I guess there could be something fundamental missing for the compiler.
Thanks in advance |
|||
|
#2
|
|||
|
|||
|
Try chmod u+x to allow script execution...
It would seem that whatever interpreter the configure file is trying to call is not there. Open that file (../path-to-file/configure) and see what the very first line says. "more configure" will open it, it should just be text shell script. The first line should be something like: #!/bin/sh That line is the magic number that tells bash what interpreter to run this text-file/script through. e.g., is it a shell script (/bin/sh), a bash script (/bin/bash), a perl script (/usr/bin/perl)? Whatever is being pointed to there is not being found. Check that the #! file actually exists, i.e. if it is a shell script, does /bin/sh exist? It should be a symlinking to /bin/bash. If not sure, change the first line to: #!bin/bash Check also for spaces, i.e. "! /bin/sh" The configure script may also have wrong line endings (DOS format?) or a stray carriage-return (CR)- perhaps it has been FTP'd in binary mode instead of ASCII mode. Anyhow, try fixing the line endings using dos2unix: dos2unix configure - ricky n. Quote:
|
|
#3
|
|||
|
|||
|
do you have a GNU cc installed?
|
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with php5 cgi installation | fab13 | Apache Web Server Forum | 3 | 19-Nov-2003 10:11 |
| unwanted scrollbar problem | kelly001 | Web Design Forum | 3 | 24-Oct-2003 11:44 |
| Geforce FX 5600 Ultra problem | jenovasbirth | Computer Hardware Forum | 1 | 04-Oct-2003 18:00 |
| select problem | zuzupus | MySQL / PHP Forum | 0 | 15-Aug-2003 08:25 |
| join problem | zuzupus | MySQL / PHP Forum | 0 | 14-Aug-2003 06:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The