zoukankan      html  css  js  c++  java
  • 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation

    解决编译apache出现的问题:configure: error: APR not found . Please read the documentation - ____哊.時^随记 - 51CTO技术博客


     解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
    2012-04-17 11:45:27
    标签:编译 ./configure apache
    原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://xtony.blog.51cto.com/3964396/836508

    今日编译apache时出错:

    #./configure --prefix……检查编辑环境时出现:

    checking for APR... no
    configure: error: APR not found .  Please read the documentation

    解决办法:

    1.下载所需软件包:

        wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz  
        wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz  
        wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip   

    2.编译安装:

        yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs

    具体步骤如下:

      a:解决apr not found问题>>>>>>

        [root@xt test]# tar -zxf apr-1.4.5.tar.gz  
        [root@xt test]# cd  apr-1.4.5  
        [root@xt apr-1.4.5]# ./configure --prefix=/usr/local/apr  
        [root@xt apr-1.4.5]# make && make install  
         

      b:解决APR-util not found问题>>>>

        [root@xt test]# tar -zxf apr-util-1.3.12.tar.gz  
        [root@xt test]# cd apr-util-1.3.12  
        [root@xt apr-util-1.3.12]# ./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config  
        [root@xt apr-util-1.3.12]# make && make install


      c:解决pcre问题>>>>>>>>>

        [root@xt test]#unzip -o pcre-8.10.zip  
        [root@xt test]#cd pcre-8.10  
        [root@xt pcre-8.10]#./configure --prefix=/usr/local/pcre  
        [root@xt pcre-8.10]#make && make install

    4.最后编译Apache时加上:

    --with-apr=/usr/local/apr

    --with-apr-util=/usr/local/apr-util/

     --with-pcre=/usr/local/pcre

    成功编译完成~

    本文出自 “____哊.時^随记” 博客,请务必保留此出处http://xtony.blog.51cto.com/3964396/836508
    分享至     
    更多 3
        一键收藏,随时查看,分享好友!
    haowen980、xutao3653、cbstudyall     
    3人
        了这篇文章
    类别:Linux____网站服务┆技术圈(0)┆阅读(5672)┆评论(1) ┆ 推送到技术圈┆返回首页
    上一篇 mail退信分析大全 下一篇 CentOS下安装Mysql5.5
    相关文章

        apache+mysql+php编译参数
        编译安装apache服务器
        apache 编译
        apache编译 参数
        编译安装Apache服务器
        查看nginx,apache,mysql,php编译参数
        启动编译安装的apache
        Windows下编译Apache-2.2.22(集成OpenSSL-1..
        构建LAMP网站服务器平台一之编译安装Apache..

    文章评论
     
    [1楼]      cbstudyall 回复
  • 相关阅读:
    metal的gpu query
    体积雾 global fog unity 及改进
    hdr rt format对颜色的影响
    unity deferred lighting
    unity linear space时 photoshop blend的正确设置
    unity linear work flow
    一些数据 bandwidth之类
    deferred rendering with msaa
    unity 显示mipmaplevel
    【转】在C#中使用SendMessage
  • 原文地址:https://www.cnblogs.com/lexus/p/3320601.html
Copyright © 2011-2022 走看看