GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 22-Jan-2004, 11:48
Rob Callan Rob Callan is offline
New Member
 
Join Date: Jan 2004
Posts: 1
Rob Callan is on a distinguished road
Unhappy

Install problem


Hi 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  
Old 16-Mar-2004, 03:52
rickynite rickynite is offline
New Member
 
Join Date: Mar 2004
Posts: 1
rickynite is on a distinguished road
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:
Originally Posted by Rob Callan
Hi 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
  #3  
Old 10-May-2004, 08:51
THSnetwork THSnetwork is offline
New Member
 
Join Date: May 2004
Posts: 8
THSnetwork is on a distinguished road
do you have a GNU cc installed?
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with php5 cgi installation fab13 Apache Web Server Forum 3 19-Nov-2003 09:11
unwanted scrollbar problem kelly001 Web Design Forum 3 24-Oct-2003 10:44
Geforce FX 5600 Ultra problem jenovasbirth Computer Hardware Forum 1 04-Oct-2003 17:00
select problem zuzupus MySQL / PHP Forum 0 15-Aug-2003 07:25
join problem zuzupus MySQL / PHP Forum 0 14-Aug-2003 05:11

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:06.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.