[Devel] radius modules on mandriva 2006

Cesc cesc.santa at gmail.com
Wed Apr 18 11:21:52 CEST 2007


Hi,

I was trying to compile the radius modules on a Mandriva 2006 distro.
But I can't.
make[1]: Entering directory `/cafes/openser.1.2/modules/auth_radius'
In file included from sterman.c:36:
../../radius.h:32:30: error: radiusclient-ng.h: No such file or directory
In file included from authrad_mod.c:43:
../../radius.h:32:30: error: radiusclient-ng.h: No such file or directory
In file included from authrad_mod.h:34,
                 from authorize.c:46:
../../radius.h:32:30: error: radiusclient-ng.h: No such file or directory
Compiling authorize.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64
 -DNAME='"openser"' -DVERSION='"1.2.0-notls"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 4.0.1"' -D__CPU_i386 -D__OS_linux
-D__SMP_yes -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
-DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DSTATISTICS -DF_MALLOC  -DSVNREVISION='"2:2009M"'
-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-I/usr/local/include -c authorize.c -o authorize.o
In file included from authrad_mod.h:34,
                 from authorize.c:46:
../../radius.h:32:30: error: radiusclient-ng.h: No such file or directory
make[1]: *** [authorize.o] Error 1
make[1]: Leaving directory `/cafes/openser.1.2/modules/auth_radius'
make: *** [modules/acc/acc.o] Error 2

I have installed all the radius-devel modules I found and I do see
some radius related include files:
/usr/include/radiusclient.h
/usr/include/freeradius/radius.h

The packet names were libradius0-devel and libfreeradius1-devel, or similar ...

Any idea?


Cesc



More information about the Devel mailing list