Need help with apache web server
|
Author |
Message |
|
|
Posted : Mon, 14 July 2008 05:54:07
Subject :
Need help with apache web server
Hi I am trying to install apache web server but when I open it up in termain and type
[quote] ./configure --prefix=/usr/local/apache[/quote]
I get this error.
[quote]
[JamesC.@localhost httpd-2.2.9]$ ./configure --prefix=/usr/local/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.3.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[/quote]
I am still new with linux and I am trying to learn it so could someone please help.
Thanks,
James
|
|
|
|
Khabi
|
Posted : Tue, 15 July 2008 02:14:15
Subject :
Need help with apache web server
Depending on your Distro (you never said what one you're using) you need to install the development tools (gcc, g++, cpp, etc etc). You should be able to find these in your package manager somewhere.
|
|
proopnarine
|
Posted : Tue, 15 July 2008 07:09:24
Subject :
Need help with apache web server
Khabi's correct. The configure error simply states that you have no C compiler on your system. Easy enough to install with any package manager. Be sure to install the development libraries also.
And is there a reason that you're compiling Apache? Yes, you can really tweak and optimize it that way, but usually a package (yum, apt, etc.) install, or an install of the LAMP system, will perform just fine.
|