loveyy 2011-06-12
前两个月脱离.net去做javaEE,这两天又被朋友忽悠到PHP平台上了,临门抱佛脚,在Linux上安装PHP平台.
结果信心满满的我遭到当头棒喝:
安装apache命令
./configure --prefix=/usr/apache/httpd --enable-module=so
make
make install
================
结果显示
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
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
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.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编译器未安装
可能是我安装RedHat 的时候配置不对吧,赶快找到当时的安装盘,找到rpm所在的Server目录
安装gcc,我晕啊,gcc的依赖项太多了,太深了,只能逐个安装
真是一层套一层啊,有完没完啊.
还是windows好啊,鼠标点点就一切ok了,linux对于那些非专业人士来说需求太苛刻了
好了,高呼下我的口号吧:我2我骄傲,我2我自豪.