For details about how to install apache in linux, refer to Linux general technology-Linux technology and application information. When I first installed apache in linux, I encountered a problem!
# Cd/usr/local
# Cd/usr/local/apr-1.4.6)
#./Configure
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.4.6
Checking for chosen layout... apr
Checking for gcc... no
Checking for cc... no
Checking for cl.exe... no
Configure: error: in '/usr/local/apr-1.4.6 ':
Configure: error: no acceptable C compiler found in $ PATHSee 'config. log' for more details
# Make & make install
Make: *** the target is not specified and the makefile cannot be found. Stop.
Configure: WARNING: unrecognized options: -- enable-so, -- enable-mod-shares
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.4.6
Checking for chosen layout... apr
Checking for gcc... no
Checking for cc... no
Checking for cl.exe... no
Configure: error: in '/usr/local/apr-1.4.6 ':
Configure: error: no acceptable C compiler found in $ PATHSee 'config. log' for more details
The problem lies in the three marked red points.
1: configure: error: in '/usr/local/apr-1.4.6 ':
Configure: error: no acceptable C compiler found in $ PATH
What is the reason for this step?
2. # make & make install
Make: *** the target is not specified and the makefile cannot be found. Stop.
This step is based on the installation notes of others, but it also fails.
The Virtual Machine vmware and rhel6.1 have a lot of problems because they are just getting started. Thank you !! Thank you.
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