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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-09-2006, 04:57 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Rep:
|
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.
|
|
|
03-09-2006, 05:02 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Did the ./configure process finish properly? Why not use Fedora Core 4 which has newer versions of apache and php?
|
|
|
03-09-2006, 05:08 AM
|
#3
|
Member
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
|
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 ?
|
|
|
03-09-2006, 09:21 AM
|
#4
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
03-09-2006, 11:59 AM
|
#5
|
Member
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
|
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...
|
|
|
03-09-2006, 01:00 PM
|
#6
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
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.
|
|
|
03-09-2006, 03:07 PM
|
#7
|
Member
Registered: Mar 2006
Distribution: Mandriva Linux 2006
Posts: 44
Rep:
|
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
|
|
|
03-09-2006, 06:10 PM
|
#8
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
thank you zeitounator for an entirely unhelpful post.
linux-idiot and jonlake, thanks for the genuinely useful advice.
Zebra.
|
|
|
03-10-2006, 12:52 AM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
03-10-2006, 05:27 AM
|
#10
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
it seemed like he was being sarcastic which annoyed me.
sorry.
|
|
|
03-10-2006, 05:28 AM
|
#11
|
LQ Newbie
Registered: Mar 2006
Posts: 6
Original Poster
Rep:
|
sarcastic is the wrong word, i meant to say smarmy
|
|
|
All times are GMT -5. The time now is 05:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|