make[
2
]: *** [exports
.
lo] Error
1
make[ 2 ]: Leaving directory ` / usr / local / src / httpd- 2.2 . 4 / server'
make[ 1 ]: *** [all-recursive] Error 1
make[ 1 ]: Leaving directory ` / usr / local / src / httpd- 2.2 . 4 / server'
make: *** [all-recursive] Error 1[@more@]
这个东西是Apache可移植运行库,源自为了服务器代码的多
平台性, 尝试将不同的操作系统特定字节与操作系统无关代码隔离。结果就提供了一
个基础API的接口。具体作用大家可参考
http://fanqiang.chinaunix.net/app/web/2006-02-21/4012.shtml文章。
apache-2.2.0提供了apr以及apr-util的源代码
要使用发行源代码中自带的apr/apr-util源代码进行安装,你必须手动完成:
我们先编译和安装 apr 1.2
# tar xzvf httpd -2.2.0.tar.gz
# cd httpd-2.2.0
# cd srclib/apr
# ./configure --prefix=/usr/local/apr
# make
# make install
现在编译和安装 apr-util 1.2
# cd ../apr-util
# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
# make
# make install
./configure --prefix=/usr/local/apache2 --with-included-apr
make[ 2 ]: Leaving directory ` / usr / local / src / httpd- 2.2 . 4 / server'
make[ 1 ]: *** [all-recursive] Error 1
make[ 1 ]: Leaving directory ` / usr / local / src / httpd- 2.2 . 4 / server'
make: *** [all-recursive] Error 1[@more@]
这个东西是Apache可移植运行库,源自为了服务器代码的多
平台性, 尝试将不同的操作系统特定字节与操作系统无关代码隔离。结果就提供了一
个基础API的接口。具体作用大家可参考
http://fanqiang.chinaunix.net/app/web/2006-02-21/4012.shtml文章。
apache-2.2.0提供了apr以及apr-util的源代码
要使用发行源代码中自带的apr/apr-util源代码进行安装,你必须手动完成:
我们先编译和安装 apr 1.2
# tar xzvf httpd -2.2.0.tar.gz
# cd httpd-2.2.0
# cd srclib/apr
# ./configure --prefix=/usr/local/apr
# make
# make install
现在编译和安装 apr-util 1.2
# cd ../apr-util
# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
# make
# make install
./configure --prefix=/usr/local/apache2 --with-included-apr
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/1701142/viewspace-975104/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/1701142/viewspace-975104/