SuSE el 9
Httpd-2.2.4
1
Uninstall apache2 installed during system installation
Rpm-e apache2
Then, a message is displayed, indicating that many dependencies need to be uninstalled first, and then uninstalled first.
Use
Rpm-e apache2 -- nodeps
2
# Tar-zxvf httpd-2.2.4.tar.gz
# Cd httpd-2.2.4
#./Configure -- prefix =/opt/APP/Apache-2.2.2 \
-- Enable-SSL -- enable-so -- disable-Info \
-- Enable-shared = max -- enable-module = most \
-- Enable-expires -- enable-headers \
-- Enable-Rewrite
Configuration error: "cannot use an external APR with the bundled Apr-util"
Solution: Apr, which is a Portable Runtime Library of Apache, originated fromCodeMultiple
Platform, trying to isolate the specific bytes of different operating systems from the operating system-independent code. Result 1 is provided.
Basic API interfaces. For details, refer
Http://fanqiang.chinaunix.net/app/web/2006-02-21/4012.shtmlArticle.
Apache-2.2.0 provides APR and APR-utilSource code
To install the source code APR/APR-util in the source code of the release, you must manually:
We first compile and install APR 1.2
# Tar xzvf httpd -2.2.0.tar.gz
# Cd httpd-2.2.0
# Cd srclib/APR
#./Configure -- prefix =/usr/local/APR
# Make
# Make install
Compile and install Apr-util 1.2
# CD ../APR-util
#./Configure -- prefix =/usr/local/APR-util -- With-Apr =/usr/local/APR/
# Make
# Make install
Repeat the above./configure to report the error:
" Exports . C: 1653 : Error: redefinition of 'ap _ hack_apr_version_string'
Exports . C: 1022 : Error: previous definition of 'ap _ hack_apr_version_string 'was here
Make [ 2 ]: *** [Exports . Lo] Error 1
Make [ 2 ]: Leaving directory' / USR / Local / SRC / Httpd- 2.2 . 4 / Server'
Make [ 1 ]: *** [All-recursive] Error 1
Make [ 1 ]: Leaving directory' / USR / Local / SRC / Httpd- 2.2 . 4 / Server'
Make: *** [All-recursive] Error 1 "
Solution:
Add "-- with-Permission ded-APR" to configure.
Compiled