When installing Apache in RedHatLinux5, GCC is not installed.

Source: Internet
Author: User
Two months ago. net went to Java ee. In the past two days, I was fooled by my friends to go To the PHP platform and installed the PHP platform on Linux. as a result, I was overwhelmed by confidence: install apache commands. /configure -- prefix =/usr/apache/httpd -- enable-module = somakemakeinstall ================= The result shows checki

Two months ago, I moved away from. net to become javaEE. In the past two days, my friends have been fooled into the PHP platform. I am so worried that I will install the PHP platform on Linux.

As a result, I was overwhelmed with confidence:

Install apache commands

./Configure -- prefix =/usr/apache/httpd -- enable-module = so
Make
Make install

======================

Result Display


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

Refreshing Apache Portable Runtime library...

Checking for APR... reconfig
Grouping 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
Grouping APR library
Platform: i686-pc-linux-gnu
Checking for working mkdir-p... yes
APR Version: 1.2.8
Checking for chosen layout... apr
Checking for gcc... no
Checking for cc... no
Checking for cc... no
Checking for cl... no
Configure: error: no acceptable C compiler found in $ PATH
See 'config. log' for more details.
Configure failed for srclib/apr

====================================

Gcc compiler Not Installed

Maybe the configuration is incorrect when I install RedHat. Find the current installation disk and find the Server directory where the rpm is located.

I'm dizzy when installing gcc. There are too many dependencies on gcc. It's too deep to install it one by one.

It's really a layer.

Windows is good, just click it and everything is OK. linux is too demanding for non-professionals.

Now, shout out my slogan: I am proud, I am proud.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.