[root@mail httpd-2.2.11]# ./configure --prefix=/usr/local/apache2/ --enable-so --enable-rewrite="shared" --enable-ssl --enable-module="all" --enable-mods-shared="most"
报错信息如下:
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 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.3
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/httpd-2.2.11/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[root@mail httpd-2.2.11]#
[root@mail httpd-2.2.11]# apt-get install gcc
-bash: apt-get: command not found