Error installing Apache

Source: Internet
Author: User

One.

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

Input: Rmp-qa | grep Apr

[Email protected] httpd-2.4.7]# Rpm-qa | grep Apr
Apr-util-ldap-1.3.9-3.el6_0.1.x86_64
Apr-util-1.3.9-3.el6_0.1.x86_64
Apr-1.3.9-3.el6_1.2.x86_64

The reason for the error is that the APR 1.3.9 version only applies to the httpd2.2 version, while the httpd2.4 version of the APR 1.4 version

wget -c http://apache.etoak.com/apr/apr-util-1.4.1.tar.gz

wget -c http://apache.etoak.com/apr/apr-1.4.6.tar.gz

tar-xzvf ./apr-1.4.6.tar.gz

tar-xzvf ./apr-utli-1.4.1.tar.gz

Need to download Apr and Apr-utils and unzip to/srclib/directory, then compile

[Email protected] lamp]# cp-r apr-1.4.6 httpd-2.4.7/srclib/apr

[Email protected] lamp]# cp-r apr-util-1.4.1 httpd-2.4.7/srclib/apr-util

Two.

Configure:error:pcre-config for Libpcre not found. PCRE is required and available from http://pcre.org/

: Http://jaist.dl.sourceforge.net/project/pcre/pcre/Find the latest version

Get file: pcre-8.32.tar.gz

Decompression: TAR-ZXVF pcre-8.32.tar.gz

[Email protected] pcre-8.32]#./configure
[[email protected] pcre-8.32]# make && make install

Three.

Libtool:link:cannot Find the library '/lamp/httpd-2.4.7/srclib/apr-util/xml/expat/libexpat.la ' or unhandled argument ' /lamp/httpd-2.4.7/srclib/apr-util/xml/expat/libexpat.la '
MAKE[2]: * * [libaprutil-1.la] Error 1
MAKE[2]: Leaving directory '/lamp/httpd-2.4.7/srclib/apr-util '
MAKE[1]: * * [install-recursive] Error 1
MAKE[1]: Leaving directory '/lamp/httpd-2.4.7/srclib '
Make: * * [install-recursive] Error 1

I solved the method: http://www.cnblogs.com/ly0199/p/4078963.html

Some systems will appear cannot find the library ' .../srclib/apr-util/xml/expat/libexpat.la ' or unhandled argument ' .../srclib/apr-util/ Xml/expat/libexpat.la ' ERROR, you can add--with-expat=builtin after./configure

Reference URL:

Reference URL: http://blog.sina.com.cn/s/blog_4edd2a190100upv3.html

Error installing Apache

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.