Compiling freeradius v3.0.x with kqueue support on ubuntu 22.04
Hi all, I am trying to compile freeradius v3.0.x with kqueue support on ubuntu 22.04. 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 Sincerely, Prajwal
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
Hi Nick, I've already tried installing libkqueue-dev using ubuntu package manager, still getting the same results. Also checked it with v3.2, still kqueue is not found. Prajwal On Sun, Feb 26, 2023 at 7:05 PM Nick Porter <nick@portercomputing.co.uk> wrote:
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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Feb 26, 2023, at 8:30 AM, Prajwal Basnet via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
I've already tried installing libkqueue-dev using ubuntu package manager, still getting the same results. Also checked it with v3.2, still kqueue is not found.
The "configure" script puts all of its detailed output into "config.log". Look there for "sys/event.h", and you'll see exactly what it's doing. This includes the program it's trying to compile, the compilation flags, and the compiler output. So read that to see exactly what's going wrong. Alan DeKok.
participants (3)
-
Alan DeKok -
Nick Porter -
Prajwal Basnet