Configure:error:Bundled APR requested but not found at./srclib/. Download and unpack the corresponding APR and Apr-util packages to./srclib/.

Source: Internet
Author: User
Tags unpack



Apache after the 2.4 release, compile-time:


#./configure--prefix=/usr/local/apache2--with-included-apr--enable-so--enable-deflate=shared--enable-expires= Shared--enable-rewrite=shared--with-pcre


The following error occurred:


Configure:error:Bundled APR requested but not found at./srclib/. Download and unpack the corresponding Apr andapr-util packages to./srclib/.


  Online search solution is correct, but the URL is not open, so, go to Apache official website to find:



Official website: www.apache.org---download------Get a quick URL (e.g., http://apache.fayea.com/) and find Apr--- Select the bz2 or GZ version of Apr and apr-util, copy the link, and download it to the/USR/LOCAL/SRC directory below. The following is the download parameters, if there is a URL error, please go to the official website according to the above method to download:


# cd /usr/local/src
# wget http://apache.fayea.com/apr/apr-1.5.2.tar.bz2
# wget http://apache.fayea.com/apr/apr-util-1.5.4.tar.bz2
# tar -jxvf apr-util-1.5.4.tar.bz2
# tar -jxvf apr-1.5.2.tar.bz2


  Move the extracted Library folder to the HTTPD subdirectory srclib (remove the version number):


# cp -rf apr-1.5.2 /usr/local/src/httpd-2.4.18/srclib/apr // Remove the version number, the same below
# cp -rf apr-util-1.5.4 /usr/local/src/httpd-2.4.18/srclib/apr-util 


complete the above operation, in the execution of the compilation, there will be no error.



Configure:error:Bundled APR requested but not found at./srclib/. Download and unpack the corresponding APR and Apr-util packages to./srclib/.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.