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. |
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
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
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
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
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 appear here based on the labels you select. Click to edit the macro and add or change labels.
|