在学习中装Apache
1.wget http://www.lishiming.net/data/attachment/forum/httpd-2.2.24.tar.bz2 ————>下载地址
2.tar -jxvf httpd-2.2.24 —————>解包
3. ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --with-pcre —————>到这里就出错了 哎。。。。怎么了?
4.出错提示 configure: error: in `/usr/local/src/httpd-2.2.24/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr
5.百度提示 没有装编译器 gcc 马上去装里一下 yum install -y gcc 这里我想很多新手跟我一样都错过忘记装gcc出错过 因为http apache是个源码包 得去编译成二进制文件才能在linux上运行的
6.大家以后别跟我一样出这样的低级错误哦!{:4_100:}
1.wget http://www.lishiming.net/data/attachment/forum/httpd-2.2.24.tar.bz2 ————>下载地址
2.tar -jxvf httpd-2.2.24 —————>解包
3. ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --with-pcre —————>到这里就出错了 哎。。。。怎么了?
4.出错提示 configure: error: in `/usr/local/src/httpd-2.2.24/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr
5.百度提示 没有装编译器 gcc 马上去装里一下 yum install -y gcc 这里我想很多新手跟我一样都错过忘记装gcc出错过 因为http apache是个源码包 得去编译成二进制文件才能在linux上运行的
6.大家以后别跟我一样出这样的低级错误哦!{:4_100:}
编辑回复