This happens when I have added

app_perl
db_perlvdb

Also when I added

acc_radius
auth_radius
misc_radius

I can see error

-- Checking for module 'radcli'
--   Package 'radcli' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - radcli

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  cmake/modules/FindRadius.cmake:44 (pkg_check_modules)
  src/modules/acc_radius/CMakeLists.txt:5 (find_package)

In normal case required only devel files in the 'freeradius-client-devel':

[root@nout SPECS]# rpm -ql freeradius-client-devel
/usr/include/freeradius-client.h
/usr/lib64/libfreeradius-client.so

Could you pass check when freeradius-client.h is present. In old script we need to export "FREERADIUS=1" https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/kamailio.spec#L1203C8-L1203C20

Regarding RADIUS. There is one CMAKE option in https://github.com/kamailio/kamailio/blob/874183da2a6000f5f8e755e19338b74757e09bf0/cmake/modules/FindRadius.cmake#L14-L18. So when on configuration pass which client you want to use.

cmake --S . -B build-folder -DRADIUSCLIENT="FREERADIUS" other_options ...


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/4085/c2607507938@github.com>