安裝apr
vim configure
刪除: $RM ‘$cfgfile’
./configure --prefix=/home/yeelone/usr
make && make install
安裝apr-utils
./configure --prefix=/home/yeelone/usr --with-apr=/home/yeelone/usr/bin/apr-1-config
make && make install
安裝pcre
(確認gcc-c++有安裝 Ubuntu : apt-get install g++)
./configure --prefix=/home/yeelone/usr/pcre
安裝apache
./configure --prefix=/home/yeelone/usr/apahce2 --with-apr=/home/yeelone/usr/bin/apr-1-config --enable-so --with-apr-util=/home/yeelone/usr/bin/apu-1-config --with-pcre=/home/yeelone/usr/pcre/bin/pcre-config
make && make install
更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2