十、cent OS开启APR模式报错:configure: error: Found APR 1.3.9. You need version 1.4.3 or newer installed

错误内容显示APR的版本过低,需要新版本

  1. http://apr.apache.org/download.cgi#apr1这个地址下载所需要的包
    apr-1.4.5.tar.gz 
    apr-iconv-1.2.1.tar.gz 
    apr-util-1.3.12.tar.gz
  2. 安装APR
    tar zxvf apr-1.4.5.tar
    cd apr-1.4.5
    ./configure --prefix=/usr/local/apr
    make
    make install  
  3. 安装apr-iconv
    tar -zxvf apr-iconv-1.2.1.tar.gz
    cd apr-iconv-1.2.1
    ./configure --prefix=/usr/local/apr-iconv --with-apr=/usr/local/apr
    make
    make install
  4. 安装 apr-util
    tar zxvf apr-util-1.3.12.tar.gz
    cd apr-util-1.3.12
    ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr --with-apr-iconv=/usr/local/apr-iconv/bin/apriconv
    make
    make install 
  5. 在使用native的./configure命令时,要使用:./configure --with-apr=/usr/local/apr --with-java-home=/usr/local/java/jdk1.8.0_144 --with-ssl=/usr/local/openssl 用参数指定安装目录
    参考链接:
    http://pengranxiang.iteye.com/blog/1128905
时间: 2024-10-20 13:15:57

十、cent OS开启APR模式报错:configure: error: Found APR 1.3.9. You need version 1.4.3 or newer installed的相关文章

php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system

centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /usr/local/lib                       # 添加该行 :wq                                  # 保存退出 ldconfig -v                          # 使之生效 注意事项: 这里添加的库文件路径一定要和你

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql. 2013-03-04 15:34wdjhz | 分类:服务器软件 | 浏览5318次 configure: error: Cannot find MySQL header files under /usr/include/mysql.Note that the MySQL client library is not bun

【转】linux configure报错configure: error: C++ preprocessor “/lib/cpp” fails sanity 的解决办法

/lib/cpp fails sanity check的解决 在某些软件的时候,运行./configure 会报错,错误提示为: configure: error: C++ preprocessor “/lib/cpp” fails sanity  check See `config.log’ for more details 解决办法:出现该情况是由于c++编译器的相关package没有安装,以root用户登陆,在终端上执行: # yum install glibc-headers # yum

安装zabbix报错configure: error: libcurl library not found

libcurl 和libcurl-devel都已经安装 且大于7.13.1 但还是报错,这时需要在configure 指定curl路径即可 ./configure --prefix=/usr/local/zabbix --enable-server --enable-proxy --enable-agent --with-mysql=/usr/bin/mysql_config --with-net-snmp --with-libcurl=/usr/bin/curl-config  --with-

nginx安装报错./configure: error: the http rewrite module requires the pcre library.

nginx编译时报错: ./configure: error: the http rewrite module requires the pcre library. 解决方法: [[email protected] nginx-1.5.9]#  yum install zlib-devel -y

php 编译安装报错 configure: error: mcrypt.h not found. Please reinstall libmcrypt.

编译安装php时报错的解决方法: 错误一:configure: error: mcrypt.h not found. Please reinstall libmcrypt. 解决办法:需要安装Libmcrypt wget http://softlayer.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.8.tar.gz        tar -zxvf libmcrypt-2.5.8.tar.gz        cd /usr/local/

CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法

错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library. 安装pcre-devel与openssl-devel解决问题 yum -y install pcre-devel openssl openssl-devel ./configure --prefix=/usr/local/nginx make make install

执行configure报错configure: error: C++ preprocessor "/lib/cpp" fails sanity check

解决方案: 出现该情况是由于c++编译器的相关package没有安装,以root用户登陆,在终端上执行: # yum install glibc-headers # yum install gcc-c++ 2015-01-21 19:04:38

报错configure:error: no acceptable C compiler found in $PATH。。

查看日志: 出错原因:新安装的linux系统,没有gcc库 解决方案:使用yum install gcc,然后发现另外个坑,没有gcc 接着解决没有gcc: http://www.cnblogs.com/dieyaxianju/p/7582270.html