先到http://apr.apache.org/download.cgi下载apr和apr-util
# cd apr-1.3.2
# ./configure
# make
# cd apr-util-1.3.2
# ./configure --with-apr=/usr/local/apr // --with-apr=/usr/local/apr 指定APR安装路径
# make
# make install
1. 安装apr-1.3.2.tar.gz
# cd apr-1.3.2
# ./configure
# make
# make install
//apr被安装在/usr/local/apr下
2. 安装apr-util-1.3.2.tar.gz
# cd apr-util-1.3.2
# ./configure --with-apr=/usr/local/apr // --with-apr=/usr/local/apr 指定APR安装路径
# make
# make install