An error occurred while installing apache .. Help me

Source: Internet
Author: User
An error occurred while installing apache .. For more information, see Linux Enterprise Application-Linux server application. The system is AS3 of the red flag, and apache is under the official website... Enter./configure for Installation
Error result
Checking for APR version 1.3.0 or later... no
Configure: error: APR version 1.3.0 or later is required

ARP version 1.3.0 too long? How can this problem be solved ~~ Thanks {: 2_100 :}



[Root @ localhost httpd-2.3.6 ] #./Configure
Checking for chosen layout... Apache
Checking for working mkdir-p... yes
Checking build system type... i686-pc-linux-gnu
Checking host system type... i686-pc-linux-gnu
Checking target system type... i686-pc-linux-gnu

Refreshing Apache Portable Runtime library...

Checking for APR... yes
Setting CC to "gcc"
Setting CPP to "gcc-E"
Setting CFLAGS to "-pthread"
Setting CPPFLAGS to "-DLINUX = 2-D_REENTRANT-D_GNU_SOURCE-D_LARGEFILE64_SOURCE"
Setting LDFLAGS ""

Refreshing Apache Portable Runtime Utility library...

Checking for APR-util... yes
Checking for gcc... gcc
Checking whether the C compiler works... yes
Checking for C compiler default output file name... a. out
Checking for suffix of executables...
Checking whether we are cross compiling... no
Checking for suffix of object files... o
Checking whether we are using the gnu c compiler... yes
Checking whether gcc accepts-g... yes
Checking for gcc option to accept ISO c89... none needed
Checking how to run the C preprocessor... gcc-E
Checking for gcc option to accept ISO c99...-std = gnu99
Checking for pcre-config.../usr/bin/pcre-config
Configure: Using external PCRE library from/usr/bin/pcre-config
Setting PCRE_INCLUDES ""
Setting PCRE_LIBS to "-lpcre"
Setting HTTPD_LDFLAGS to "$ (PCRE_LIBS )"

Refreshing Apache httpd...

Setting INCLUDES to "-I ."
Adding "-I $ (top_srcdir)/OS/$ (OS _DIR)" to pair des
Adding "-I $ (top_srcdir)/include" to pair des
Adding "-I/usr/include/apr-1" to des

Applying OS-specific hints for httpd...

Forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
Forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"
Checking for rm.../bin/rm
Checking for pkg-config.../usr/bin/pkg-config
Checking for rsync.../usr/bin/rsync
Checking for gawk... gawk
Checking whether ln-s works... yes
Checking for ranlib... ranlib
Checking for lynx... lynx
Checking for grep that handles long lines and-e.../bin/grep
Checking for egrep.../bin/grep-E
Checking for ansi c header files... yes
Checking for sys/types. h... yes
Checking for sys/stat. h... yes
Checking for stdlib. h... yes
Checking for string. h... yes
Checking for memory. h... yes
Checking for strings. h... yes
Checking for inttypes. h... yes
Checking for stdint. h... yes
Checking for unistd. h... yes
Checking minix/config. h usability... no
Checking minix/config. h presence... no
Checking for minix/config. h... no
Checking whether it is safe to define _ EXTENSIONS _... yes
Checking for library containing strerror... none required
Checking for APR version 1.3.0 or later... no
Configure: error: APR version 1.3.0 or later is required
[Root @ localhost httpd-2.3.6] #

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.