/
Compile Shibboleth SP from source on Linux (including dependencies)
Compile Shibboleth SP from source on Linux (including dependencies)
Follow these steps if you want to compile the whole stack for Shibboleth SP from source.
The versions are specified in the following steps. You may want to change those to get more up-to-date versions of packages.
Install dependencies for CentOS6 and CentOS7
Some of these packages are available in the default CentOS repositories, the EPEL repositories and the Shibboleth repositories
yum -y install boost-devel zlib-devel openssl-devel libcurl-devel xml-security-c-devel gcc gcc-c++ make file wget httpd-devel unzip tar sed grep patch
Compile log4shib
wget -c https://shibboleth.net/downloads/log4shib/latest/log4shib-1.0.9.tar.gz -O log4shib-1.0.9.tar.gz
tar xfz log4shib-1.0.9.tar.gz
cd log4shib-1.0.9
./configure --disable-static --disable-doxygen --prefix=/opt/shibboleth-sp
make clean
make -j 4
make install
Compile xmltooling
wget -c https://shibboleth.net/downloads/c++-opensaml/latest/xmltooling-1.6.4.zip -O xmltooling-1.6.4.zip
unzip xmltooling-1.6.4.zip
cd xmltooling-1.6.4
PKG_CONFIG_PATH=/opt/shibboleth-sp/lib/pkgconfig ./configure --prefix=/opt/shibboleth-sp -C
make clean
make -j 4
make install
Compile opensaml
wget -c https://shibboleth.net/downloads/c++-opensaml/latest/opensaml-2.6.1.zip -O opensaml-2.6.1.zip
unzip opensaml-2.6.1.zip
cd opensaml-2.6.1
PKG_CONFIG_PATH=/opt/shibboleth-sp/lib/pkgconfig ./configure --prefix=/opt/shibboleth-sp -C
make clean
make -j 4
make install
Compile shibboleth-sp
You may want to add some configuration flags here to eg. build the mod_shib for apache
wget -c https://shibboleth.net/downloads/service-provider/latest/shibboleth-sp-2.6.1.zip -O shibboleth-sp-2.6.1.zip
unzip shibboleth-sp-2.6.1.zip
cd shibboleth-sp-2.6.1
PKG_CONFIG_PATH=/opt/shibboleth-sp/lib/pkgconfig ./configure --prefix=/opt/shibboleth-sp
make clean
make -j 4
make install
Related articles
, multiple selections available,
Related content
RPMInstall
RPMInstall
Read with this
LinuxInstall
LinuxInstall
More like this
SRPMBuild
SRPMBuild
Read with this
Setting Up, Configuring, and Using Maven
Setting Up, Configuring, and Using Maven
More like this
SecurityAdvisories
SecurityAdvisories
More like this
SAML2 Sessions Configurations
SAML2 Sessions Configurations
Read with this