Apache在SUSE Linux下的源码安装配置(httpd

1. 下载httpd,下载了httpd-2.4.2.tar.gz

2. 安装apache

#tar zxvf httpd-2.4.2.tar.gz

#cd httpd-2.4.2

#./configure --prefix=/usr/local/apache --enable-modules=most --enable-mods-shared=max

出现错误如下

checking for APR... no

configure: error: APR not found.  Please read the documentation.

Apr系统中没有,于是用zypper在线下载安装

# zypper search APR

正在恢复系统源…

对以下项的元数据进行语法分析SUSE Linux Enterprise Server 10 SP4...

S | Catalog                             | Type    | Name               | Version                                                                                                                                                                     | Arch

--+-------------------------------------+---------+--------------------+--------                                                                                                                                                             --------+-----

| SUSE Linux Enterprise Server 10 SP4 | package | libapr-util1       | 1.2.2-1                                                                                                                                                             3.13.18 | i586

| SUSE Linux Enterprise Server 10 SP4 | package | libapr-util1-devel | 1.2.2-1                                                                                                                                                             3.13.18 | i586

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/f6661b49364fd2eaba5864480c977905.html