Adapted from https://spaces.internet2.edu/display/SHIB2/NativeSPLinuxSourceBuild
- apt-get install wget
- apt-get install build-essential
- apt-get install apache2
- apt-get install libxerces-c28 libxerces-c2-dev
- apt-get install libxml-security-c14 libxml-security-c-dev
- apt-get install libcurl4-openssl-dev
- apt-get install libxmltooling1 libxmltooling-dev
- apt-get install libsaml2 libsaml2-dev
- download log4shib source from http://shibboleth.internet2.edu/downloads/log4shib/latest/
- ./configure --disable-static --disable-doxygen --prefix=/opt/shibboleth-sp
- make
- make install
- download XMLTooling-C source from http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/
- ./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C
- make
- make install
- download OpenSAML-C source from http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/
- ./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C
- make
- make install
- download shibboleth2 source from http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/
- ./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp
- make
- make install
This is perfect - thanks for posting it! One question though - when I follow these instructions everything works fine, however no mod_shib_xx.so file is built. I can see everything ready in the apache subdirectory, but no joy. Did you experience this? (PS: I'm using v2.3.1 - the latest at time of comment and am wondering if it's an issue with the makefile...)
ReplyDelete