15 October 2009

Shibboleth2 on Ubuntu 9.04

Here are my notes on how I got Shibboleth2 compiled from source on Ubuntu 9.04. YMMV.

Adapted from https://spaces.internet2.edu/display/SHIB2/NativeSPLinuxSourceBuild
  1. apt-get install wget
  2. apt-get install build-essential
  3. apt-get install apache2
  4. apt-get install libxerces-c28 libxerces-c2-dev
  5. apt-get install libxml-security-c14 libxml-security-c-dev
  6. apt-get install libcurl4-openssl-dev
  7. apt-get install libxmltooling1 libxmltooling-dev
  8. apt-get install libsaml2 libsaml2-dev
  9. download log4shib source from http://shibboleth.internet2.edu/downloads/log4shib/latest/
  10. ./configure --disable-static --disable-doxygen --prefix=/opt/shibboleth-sp
  11. make
  12. make install
  13. download XMLTooling-C source from http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/
  14. ./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C
  15. make
  16. make install
  17. download OpenSAML-C source from http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/
  18. ./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C
  19. make
  20. make install
  21. download shibboleth2 source from http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/
  22. ./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp
  23. make
  24. make install

1 comment:

  1. 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