Rootop 服务器运维与web架构

configure: error: the –with-apr parameter is incorrect

| 暂无评论

checking for working mkdir -p… yes
/root/httpd-2.2.22/httpd-2.2.22/srclib/apr-util/configure: line 2806: /root/httpd-2.2.22/httpd-2.2.22/srclib/apr-util/build/get-version.sh: Permission denied
/root/httpd-2.2.22/httpd-2.2.22/srclib/apr-util/configure: line 2807: /root/httpd-2.2.22/httpd-2.2.22/srclib/apr-util/build/get-version.sh: Permission denied
/root/httpd-2.2.22/httpd-2.2.22/srclib/apr-util/configure: line 2809: /root/httpd-2.2.22/httpd-2.2.22/srclib/apr-util/build/get-version.sh: Permission denied
APR-util Version:
checking for chosen layout… apr-util
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
Applying apr-util hints file rules for i686-pc-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
[root@localhost httpd-2.2.22]#

我这里报错的原因是没有权限,最后直接给整个安装包加-R并设为777权限,重新./configure没问题了。

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1115.html

作者:Venus

服务器运维与性能优化

发表回复