Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Building the Native SP from SRPM Source Packages

...

The rpmbuild command, and others required for the build process, are often missing from a server installation, so you may need to install them first.  The following list of packages covers most of the prerequisites on many systems:

  • automake

  • boost-devel

  • chrpath

  • doxygen

  • gcc-c++

  • groff

  • httpd-devel

  • libidn-devel

  • openldap-devel

  • openssl-devel

  • redhat-rpm-config

  • rpm-build (for rpmbuild)

  • stunnel (for curl-openssl)

  • unixODBC-devel

You can save some time during the build process by installing all of the above that are available on your system, along with their dependencies.  On "yum" platforms, the simplest way is just to install them all at once:

...

You'll then need to repeat the same basic steps for each package, in the following order:

  1. log4shib

  2. xerces-c

  3. xml-security-c

  4. curl-openssl (on RHEL/CentOS 6.x and 7.x)

  5. xmltooling

  6. opensaml

  7. shibboleth

If you jump ahead, the RPM commands will tell you what's missing. The basic steps for each package are:

...

A few options are built-in to control certain dependencies and turn on and off some optional features:

rpmbuild Option

Effect

--with fastcgi

Include FastCGI support (requires fcgi-devel)

--with log4cpp

Build against the original log4cpp library instead of log4shib (not advised)

--with odbc

Expressly include the ODBC storage plugin (requires unixODBC-devel)

--without adfs

Don't include ADFS WS-Federation plugin

--without builtinapache

Bypass requirement for native OS httpd-devel package

--without odbc

Don't include the ODBC plugin, even if it can be built

Targeting a Custom Apache

...