编译需要:apr-1.7.0,apr-util-1.6.1和logging-log4cxx-master,编译顺序是apr-1.7.0=》apr-util-1.6.1=>logging-log4cxx-master

1.编译及安装apr-1.7.0:

tar zxvf apr-1.7.0.tar.gz
cd apr-1.7.0
./configure && make && make install

2.编译及安装apr-util-1.6.1

tar zxvf apr-util-1.6.1.tar.gz
cd apr-util-1.6.1
./configure --with-apr=/usr/local/apr && make && make install

3.编译及安装log4cxx

unzip logging-log4cxx-master.zip
cd logging-log4cxx-master
./autogen.sh && ./configure && make && make install