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

[ Submitted by John on Thu, 2011-03-03 11:06. | | ]

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options