首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

在linuxAS6.0 64位上编译http-2.2.13上出现异常

2012-07-28 
在linuxAS6.0 64位下编译http-2.2.13下出现错误执行./configure --prefix/usr/local/apache22 --enable-m

在linuxAS6.0 64位下编译http-2.2.13下出现错误
执行./configure --prefix=/usr/local/apache22 --enable-module=so
或者执行:
./configure --prefix=/usr/web/apache --enable-so --enable-rewrite --enable-proxy --with-mpm=worker --with-expat=builtin
都提示错误:
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for x86_64-unknown-linux-gnu
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
configure failed for srclib/apr-util

各位大虾有没有知道怎么回事的?

[解决办法]
redhat6.0吧?没用过,正准备下个玩玩的
错误提示写的很清楚了啊,It must specify an install prefix, a build directory, or an apr-config file.你必须指定一个install文件夹,一个build文件夹,或者指定apr-config文件夹
你的命令里只有--prefix,加上build文件夹或者apr-config文件夹试试,具体命令你看看configure--help里
[解决办法]
先创建这个文件夹试试/usr/local/apache22

热点排行