Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Follow these steps if you want to compile the whole stack for Shibboleth SP from source.

Info

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

Code Block
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

Code Block
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

Code Block
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

Code Block
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

Info

You may want to add some configuration flags here to eg. build the mod_shib for apache

Code Block
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

Filter by label (Content by label)
showLabelsfalse
max5
spacesSP3
sortmodified
showSpacefalse

...

reversetrue
typepage
cqllabel in ( "compile" , "linux" , "centos" ) and type = "page" and space = "SP3"
labelscentos compile linux
Page Properties
hiddentrue

Related issues