Summary of page Compiling and Installing - Apache HTTP Server
cd apr-1.4.6/
./configure
make
make install
tar -xvzf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1
./configure --with-apr=/usr/local/apr
make
make install
cd pcre-8.31
./configure --with-apr=/usr/local/apr
make
make install
tar -xvzf httpd-2.4.1.tar.gz
cd httpd-2.4.1
./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr/ --prefix=/sw/pkg/apache
make
make install
cd ..
Download files
Download (1) apr (2) apr-util (3) pcre (4) httpd.- apr and apr-utils from http://apr.apache.org/.
- pcre from http://www.pcre.org/
- httpd from http://httpd.apache.org/download.cgi
Compile APR
tar -xvzf apr-1.4.6.tar.gzcd apr-1.4.6/
./configure
make
make install
Compile APR-UTIL
tar -xvzf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1
./configure --with-apr=/usr/local/apr
make
make install
Compile PCRE
cd pcre-8.31
./configure --with-apr=/usr/local/apr
make
make install
Compile HTTPD
tar -xvzf httpd-2.4.1.tar.gz
cd httpd-2.4.1
./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr/ --prefix=/sw/pkg/apache
make
make install
cd ..
Comments