Compiling and Installing Pubcookie on 64-bit RHEL6
Before attempting compilation, make sure you have the following prerequisites installed (and Apache of course):
yum install gcc mod_ssl openssl-devel httpd-devel
Then you're ready:
curl -O http://www.pubcookie.org/downloads/pubcookie-3.3.4a.tar.gz
tar xzvf pubcookie-3.3.4a.tar.gz
cd pubcookie-3.3.4a
./configure
make top_builddir=/usr/lib64/httpd top_srcdir=/usr/lib64/httpd
Then with sudo or as root:
make top_builddir=/usr/lib64/httpd top_srcdir=/usr/lib64/httpd install
You'll need to tell Apache to load pubcookie. In /etc/httpd/conf/httpd.conf or /etc/httpd/conf.d/pubcookie.conf:
LoadModule pubcookie_module modules/mod_pubcookie.so
Reference: ...Red Hat felt the need to mess with the Apache2 build environment




Post new comment