当前位置:  技术问答>linux和unix

在linuxAS6.0 64位下编译http-2.2.13下出现错误

    来源: 互联网  发布时间:2017-02-10

    本文导语:  执行./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 fo...

执行./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

    
 
 

您可能感兴趣的文章:

 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3