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
(forrpmbuild
)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:
log4shib
xerces-c
xml-security-c
curl-openssl
(on RHEL/CentOS 6.x and 7.x)xmltooling
opensaml
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:
| Effect |
---|---|
| Include FastCGI support (requires |
| Build against the original log4cpp library instead of log4shib (not advised) |
| Expressly include the ODBC storage plugin (requires |
| Don't include ADFS WS-Federation plugin |
| Bypass requirement for native OS httpd-devel package |
| Don't include the ODBC plugin, even if it can be built |
Targeting a Custom Apache
...