貌似SuSE没有默认安装gcc,所以先要安装gcc。
依顺序安装:
linux-kernel-headers-2.6.31-3.4.noarch.rpm
glibc-devel-2.11.1-0.17.4.x86_64.rpm
gcc43-4.3.4_20091019-0.7.35.x86_64.rpm
gcc-4.3-62.198.x86_64.rpm
这样gcc安装完成
再安装httpd-2.2.21.tar.gz,解压,./configure make make install
启动的话好像是要把.../conf/httpd.conf里#ServerName ...行前的注释去掉,写成ServerName 127.0.0.1:80
OK