For more information about installing apache on RH4-Linux Enterprise Application-Linux server application, see the following. I recently learned how to use linux to build a WEB server. I installed Red Hat Enterprise Linux 4 and downloaded httpd-2.2.9.tar.gz from the apacheofficial website.
Run tar. zxvf httpd-2.2.9.tar.gz-C/root/apache
Go to cd/root/apche/httpd-2.2.9
Run./configure -- prefix =/usr/src/apache
CODE: 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.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 |