- 论坛徽章:
- 0
|
原帖由 songlc 于 2008-2-28 09:37 发表 ![]()
我在编译jakarta-tomcat-connectors-jk2-2.0.4的时候遇到一个错误:
configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util
请高手们告知是什么原因
Build and install apr/apr-util
for example:
apr-1.2.2和apr-util-1.2.2
# Build and install apr 1.2
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install
# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install
# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
或者对这两个包都是./configure make make install后编译测试看 应该默认可以找到路径的
[ 本帖最后由 xuledw 于 2008-2-28 14:34 编辑 ] |
|