美文网首页
Apache的make编译错误

Apache的make编译错误

作者: 都灵的夏天_ | 来源:发表于2018-12-20 10:10 被阅读0次

    问题!!make报错

    make[2]: [htpasswd] 错误 1
    make[2]: 离开目录“/usr/local/src/httpd-2.4.27/support”
    make[1]: [all-recursive] 错误 1
    make[1]: 离开目录“/usr/local/src/httpd-2.4.27/support”
    make: *** [all-recursive] 错误 1```
    解决办法:
    
    cd /usr/local/src/
    cp -r apr-1.6.2  /usr/local/src/httpd-2.4.27/srclib/apr
    cd apr-1.6.3
    ./configure --prefix=/usr/local/apr
    make && make install
    cp -r apr-util-1.6.0  /usr/local/src/httpd-2.4.27/srclib/apr-util
    cd /usr/local/src/apr-util-1.5.4
    ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
    make && make install
    
    cd /usr/local/src/httpd-2.4.27
    #./configure --with-included-apr --prefix=/usr/local/apache2.4 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --enable-so --enable-mods-shared=most
    #make &&make install
    

    转载自http://blog.51cto.com/lsxme/2048003

    相关文章

      网友评论

          本文标题:Apache的make编译错误

          本文链接:https://www.haomeiwen.com/subject/fhwekqtx.html