FreeRADIUS InkBridge

Building on RHEL7

There are minimal requirements to building on RHEL, including Rocky or Alma versions.

Centos Stream is now a rolling release, feeder distribution for RHEL and no longer supported.

Hard Dependencies

libtalloc

yum -y install libtalloc-devel

libkqueue

libkqueue required for >= v4.0.x, you can skip this step for v3.0.x and below.

Unfortunately neither RHEL nor Centos provide an RPM for libkqueue. The instructions below will produce a libkqueue RPM, which can then be installed for building from source, or distributed with the FreeRADIUS RPMs when building packages.

Building the libkqueue RPM requires these packages:

yum -y install cmake3

include::partial$libkqueue-rpm.adoc

Upgrading GCC (>= v4.0.x and master branch only)

GCC upgrade only required for versions >= v4.0.x you can skip this step for v3.0.x and below.

RHE7 ships with GCC 4.8.5 but FreeRADIUS v4 requires GCC >= 4.9.0.

The devtoolset-3 series of packages provides a later version of GCC.

https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/[devtoolset-3 repository][Follow these instructions] to enable the toolset.

To install:

yum -y install devtoolset-3-gcc devtoolset-3-gcc-c++

and then to get to a shell with the correct environment:

scl enable devtoolset-3 bash

Or can set CC=/opt/rh/devtoolset-3/root/usr/bin/gcc in your environment, which works just as well.

If you’re building on older versions of RedHat then you’ll need to compile GCC from source.

Getting the source

Download the latest version of the FreeRADIUS source from one of these sites:

Build from Source and Install

If you’re using unstable code or encountering issues with the install, use configure --enable-developer option.

./configure
make
sudo make install

Building Packages

With Oracle support

include:RPMs-with-Oracle-support