LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-09-2006, 04:57 AM   #1
zebra_
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
Apache on rehat 9 - help please!


Hi,

I've just been trying to install the latest version of apache on redhat 9 but i'm having a bit of a problem:

First I downloaded the latest version, then extracted the file:

#tar zxvf http.2.2.......

the changed into the new folder and typed

#./configure

here's the problem, when i give the 'make' command i get the following error:

make: *** No targets specified and no makefile found. Stop.


Any help would be great!

I've also heard that redhat 9 has apache and php pre-installed but after putting a test.php file in /var/www/html and going to localhost in the browser i only got an error message which suggests to me that it is in fact not installed.

Cheers.
 
Old 03-09-2006, 05:02 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Did the ./configure process finish properly? Why not use Fedora Core 4 which has newer versions of apache and php?
 
Old 03-09-2006, 05:08 AM   #3
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Quote:
Originally Posted by zebra_
#./configure
here's the problem, when i give the 'make' command i get the following error:
make: *** No targets specified and no makefile found. Stop.
The configure script most probably did finish its job. You probably got an error message after typing ./configure and before running make...

Quote:
Originally Posted by zebra_
I've also heard that redhat 9 has apache and php pre-installed but after putting a test.php file in /var/www/html and going to localhost in the browser i only got an error message which suggests to me that it is in fact not installed.
And the error message was ?
 
Old 03-09-2006, 09:21 AM   #4
zebra_
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

thanks for the replies. I decided to try an earlier version of apache and the make error is slightly different now. Here is an exact screen dump of the process:


[root@NeilLinux tars]# cd apache_1.3.34
[root@NeilLinux apache_1.3.34]# ls
ABOUT_APACHE configure LICENSE NWGNUenvironment.inc README WARNING-WIN.TXT
cgi-bin htdocs logs NWGNUhead.inc README.configure
conf icons Makefile.tmpl NWGNUmakefile README-WIN.TXT
config.layout INSTALL NOTICE NWGNUtail.inc src
[root@NeilLinux apache_1.3.34]# ./configure
Configuring for Apache, Version 1.3.34
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated34
[root@NeilLinux apache_1.3.34]# make
===> src
make[1]: Entering directory `/root/tars/apache_1.3.34'
make[2]: Entering directory `/root/tars/apache_1.3.34/src'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/root/tars/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/tars/apache_1.3.34'
make: *** [build] Error 2
[root@NeilLinux apache_1.3.34]#



Any thoughts?
 
Old 03-09-2006, 11:59 AM   #5
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Why are you even trying to launch 'make' since the configure script did not finish ? If the configure script does not finish, it cannot create the makefiles. If your have no makefiles, it's no use running make.

Now read the error:
Code:
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated34
If you are going to compile any kind of software of software on your machine, you at least need a compiler installed...
 
Old 03-09-2006, 01:00 PM   #6
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
As was said earlier, you are always going to want to install a compiler when running linux. The most common is gcc. There should be an rpm for it on one of the red hat cd's. Also, during the install when selecting packages, it's usually under the "Development" or "Programming" tree.
 
Old 03-09-2006, 03:07 PM   #7
linux-idiot
Member
 
Registered: Mar 2006
Distribution: Mandriva Linux 2006
Posts: 44

Rep: Reputation: 15
had the same problem mate, sure other people know alot more about this than me but here we go.

you will need to install gcc to configure apache, and you will need to do this before you can run the make command

good luck dude
 
Old 03-09-2006, 06:10 PM   #8
zebra_
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
thank you zeitounator for an entirely unhelpful post.

linux-idiot and jonlake, thanks for the genuinely useful advice.

Zebra.
 
Old 03-10-2006, 12:52 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by zebra_
thank you zeitounator for an entirely unhelpful post.

linux-idiot and jonlake, thanks for the genuinely useful advice.

Zebra.
Actually zeitounators post was helpful. You were pointed in the right direction, so I am not so sure why you are saying it was unhelpful.
 
Old 03-10-2006, 05:27 AM   #10
zebra_
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
it seemed like he was being sarcastic which annoyed me.

sorry.
 
Old 03-10-2006, 05:28 AM   #11
zebra_
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Original Poster
Rep: Reputation: 0
sarcastic is the wrong word, i meant to say smarmy
 
  


Reply



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
rehat up2date nthnmsnr Linux - Newbie 3 07-24-2005 01:15 PM
uninstall rehat 9 master Linux - Newbie 4 05-18-2004 02:29 PM
Rehat 9 freezes Metallica Red Hat 5 09-09-2003 01:54 PM
Rehat apache.. load defaults? mattbuechler Linux - Software 2 07-02-2003 10:25 AM
smoothwall and rehat 8 swift220 Linux - Networking 3 05-29-2003 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:50 PM.

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
Open Source Consulting | Domain Registration