Apache2.4.7 make Error [exports. lo] Error 1 Solution

Source: Internet
Author: User

Apache2.4.7 make Error [exports. lo] Error 1 Solution

Compile the one-click LAMP installation script and use Apache2.4.7./configure. If no error is reported, run make as follows:

Make [2]: *** [exports. lo] Error 1

Make [2]: Leaving directory '/usr/local/src/httpd-2.4.7/Server'

Make [1]: *** [all-recursive] Error 1

Make [1]: Leaving directory '/usr/local/src/httpd-2.4.7/Server'

Make: *** [all-recursive] Error 1

Environment Description:

Apr Version 1.5.2 and apr-util version 1.5.4 have been compiled and installed separately;

The compilation parameters are:

. /Configure -- prefix =/usr/local/apache2 -- with-apr =/usr/local/apr -- with-apr-util =/usr/local/apr-util/-- -pcre -- enable-mod-shared = most -- enable-so

 


Solution:

Add "-- with-defined ded-apr" to configure ". Re-compile, make, make install.

 


The problem comes again. After -- with-embedded ded-apr is added, the following error is returned:

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

Error: apr, apr-util missing. Download and decompress it to The./srclib/directory.

 


Solution:


# Cd/usr/local/src/

# Cp-r apr-1.5.2/usr/local/src/httpd-2.4.7/srclib/apr

# Cp-r apr-util-1.5.4/usr/local/src/httpd-2.4.7/srclib/apr-util

 


If you execute./configure again, no error will be reported, and no error will be reported for make and make install;

You may also like the following LAMP-related content:

Install Xcache and Memcached on the LAMP platform to accelerate website operation

Build a LAMP platform environment in CentOS 7

CentOS 6.5 system installation and configuration LAMP (Apache + PHP5 + MySQL) server environment

Configure the LAMP + phpMyAdmin PHP (5.5.9) development environment in Ubuntu 14.04

Install LAMP in Ubuntu 14.10

LAMP combines NFS to build a small blog site

This article permanently updates the link address:

Related Article

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.