徒然メモ

技術的なことを書いたり書かなかったり

Apache HTTP Server 2.4.1 をビルド

CentOS5.7と6.2の環境どちらも同じ手順で行いました。

167 wget http://ftp.riken.jp/net/apache//httpd/httpd-2.4.1.tar.gz 168 wget http://ftp.jaist.ac.jp/pub/apache//apr/apr-1.4.6.tar.gz 169 wget http://ftp.jaist.ac.jp/pub/apache//apr/apr-util-1.4.1.tar.gz 170 wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz 171 tar zxvf apr-1.4.6.tar.gz 172 cd apr-1.4.6 173 ./configure --prefix=/usr/local/apr-1.4.6 174 make 175 make install 176 cd .. 177 tar zxvf apr-util-1.4.1.tar.gz 178 cd apr-util-1.4.1 179 ./configure --prefix=/usr/local/apr-util-1.4.1 --with-apr=/usr/local/apr-1.4.6/ 180 make 181 make install 182 cd .. 183 tar zxvf pcre-8.30.tar.gz 184 cd pcre-8.30 185 ./configure --prefix=/usr/local/pcre-8.30 186 make 187 make install 188 cd .. 189 tar zxvf httpd-2.4.1.tar.gz 190 cd httpd-2.4.1 191 ./configure --prefix=/usr/local/apache-2.4.1 --enable-load-all-modules --with-apr=/usr/local/apr-1.4.6/ --with-apr-util=/usr/local/apr-util-1.4.1/ --with-pcre=/usr/local/pcre-8.30/ 192 make 193 make install