How to Learn Apache ...... Use the source code downloaded on http://www.apache.org/to install apache2, Redhat AS 4 After configure is executed, make Make install error: /Bin/sh/usr/local/httpd-2.2.3/srclib/apr/libtool -- mode = install/usr/bin/install-c-m 755 libaprutil-1.la/usr/local/apache2/lib Libtool: install: error: cannot install 'libaprutil-1. la' to a directory not ending in/usr/local/apache22/lib Make [2]: *** [install] Error 1 After tossing, find the rule: ./Configure Make Make install Sequence error free ./Configure -- prefix =/app/apache Make Make install An error occurs in the order... Analysis: The source code downloaded from the apache website should not have a low-level error that cannot be installed to a non-/usr/local directory. It must have been neglected. It may have been due to the previous installation of./configure to directly install it to/usr/local/apache2. The installation file is not "clean" Solution: Delete the source code directory and re-download the apache installation package from tar-zxvf. the above problem is solved. Then google wrote the following sentence: If some options do not become active after doing a configure; make install, try to do a make clean after configure. |