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: