Linux.com

Author Message
Joined: Jun 30, 2008
Posts: 5
Other Topics
Posted Jul 14, 2008 at 5:54:07 AM
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
Back to top Profile Email Website
Khabi
Joined Apr 21, 2008
Posts: 121

Other Topics
Posted: Jul 15, 2008 2:14:15 AM
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.
Back to top Profile Email Website
proopnarine

Joined Apr 03, 2008
Posts: 590
Location:San Francisco

Other Topics
Posted: Jul 15, 2008 7:09:24 AM
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.

Take the red pill

Climate Change Blog

Food Weblog

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya