After a security warning about FreeRadius, I am trying to build the FreeRadius 3.0.15 installation .deb files for Debian 9/Stretch for placing in my local repository.
I actually also need that version for a RadSec project and a couple of other bug fixes.
I build them using the following instructions:
git clone https://github.com/FreeRADIUS/freeradius-server.git cd freeradius-server git fetch origin v3.0.x:v3.0.x git checkout v3.0.x fakeroot dpkg-buildpackage -b -uc
However, when compiling it, I got back the following error:
dpkg-buildpackage: info: source package freeradius dpkg-buildpackage: info: source version 3.0.15+git dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Alan DeKok <email@example.com> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build freeradius-server dpkg-checkbuilddeps: error: Unmet build dependencies: libjson0 | libjson-c2 dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.)
What to do?