Compiling freeradius v3.0.x with kqueue support on ubuntu 22.04

Nick Porter nick at portercomputing.co.uk
Sun Feb 26 13:20:30 UTC 2023


On 26/02/2023 04:08, Prajwal Basnet via Freeradius-Users wrote:
> Hi all,
>
> I am trying to compile freeradius v3.0.x with kqueue support on ubuntu 22.04.

Note that latest 3.0 and 3.2 packages are available from 
packages.networkradius.com

It also makes more sense to use v3.2 rather than v3.0 - there are a 
number of worthwhile improvements in that branch.

> I know that kqueue is not present in linux & is a feature for
> BSDs/OSX. So, I'm trying to use libkqueue library for compatibility
> (github.com/mheily/libkqueue).
> But every time I try to compile, during the configuration phase when I
> run "./configure", it checks for kqueue & it isn't found.
>
> #9 12.23 checking for kqueue... no
> #9 7.796 checking sys/event.h usability... no
> #9 7.821 checking sys/event.h presence... no
> #9 7.833 checking for sys/event.h... no

Just install the libkqueue-dev package available in the Ubuntu 
repositories - that will put the relevant files in the right places so 
that the configure script will find it.

Nick


More information about the Freeradius-Users mailing list