Wt: Installing Wt with SAML support on Linux

Wt 4.10.4

Loading...
Searching...
No Matches
Installing Wt with SAML support on Linux

# Dependencies

## Debian or Ubuntu

In order to build Wt with SAML support on Debian or Ubuntu, you can simply install the following packages:

apt install libsaml-dev opensaml-schemas xmltooling-schemas

## From source

The following dependencies are usually available as a package on most distributions:

- Xerces-C++
- Apache Santuario / Apache XML Security for C++
- libcurl
- Boost (also a Wt dependency)
- OpenSSL (also an optional Wt dependency)

You can download sources for Log4Shib, XMLTooling, and OpenSAML from Shibboleth.

- Log4Shib
- XMLTooling and OpenSAML

Installation is a simple `./configure`/`make install`. If you're installing into a prefix, you can use `PKG_CONFIG_PATH`:

PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./configure --prefix=$PREFIX
make
make install

# Configuring Wt

You need to set `ENABLE_SAML` to `ON` when configuring Wt. You can use `SAML_ROOT` to set a different prefix:

cmake path/to/sources -DENABLE_SAML=ON -DSAML_ROOT=$PREFIX