Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

mod_cas building

Mod_cas requires OpenSSL libraries to be installed in a path known to the loader (and OpenSSL header files in a path known to the compiler).

Quick build guide

To build this version of mod_cas for Apache 2.x, perform the following steps:

Verbose build guide

Get the sources and install:
% cd /usr/local
% mv /tmp/cas-client-x.y.z.tar.gz src
% tar zxvf src/cas-client-x.y.z.tar.gz
Copy the sources into Apache distribution tree beneath the modules directory (in a new directory named cas for instance):
% mkdir <apache_src_dir>/modules/cas
% cd /usr/local/cas-client-x.y.z/mod_cas/apache2
% cp * <apache_src_dir>/modules/cas
% cd <apache_src_dir>/modules/cas
Edit the contents of cas.h to include your CAS server's configuration Then compile Apache(the additionnal include search path for Kerberos is needed for Linux RedHat 9):
% cd ../..
% ./buildconf
% export CFLAGS='-I/usr/kerberos/include'
% ./configure --enable-ssl --enable-cas=shared
% make
mod_cas.so should now be installed in <apache_src_dir>/modules/cas/.libs.
Generated on Thu Jun 26 14:33:06 2003 for mod_cas by doxygen1.3