I am trying to install CAS on an Ubuntu Server and the only problem seems to be installing Apache Modules. I am setting this up to be (almost) exactly like a Solaris server we have currently up and running, but I can't seem to figure out how to install the Apache modules. The mod_auth_cas 'make install' command produces this:
make: /usr/bin/apxs2: Command not found
if test ! -d ; then mkdir -p ; fi
/usr/local/apache2.2/bin/apxs -i -S LIBEXECDIR= src/mod_auth_cas.la
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' src/mod_auth_cas.la
wrong number of arguments to instdso.sh
Usage: instdso.sh SH_LIBTOOL-value dso-name path-to-modules
apxs:Error: Command failed with rc=65536
make: *** [install] Error 1
and I'm wondering why it can't find the path-to-modules if it knows that apache is in /usr/local/apache2.2 (configured with configure.sh).
I'm also wondering if I can just copy the .so files from current server to the new one without screwing things up.
This is the first Apache server I've tried setting up, and any help would be greatly appreciated.