Pre release of 2.1.10

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Mon Sep 6 14:26:27 CEST 2010


Hi,

>   Please test it out, and give feedback on issues / benefits.  The file
> doc/ChangeLog contains all of the changes and new features in the server.


fails to compile on older redhats with python :

gmake[6]: Leaving directory `/usr/src/freeradius-server-2.1.10/src/modules/rlm_preprocess'
Making all in rlm_python...
/usr/bin/gmake -w -C rlm_python all
gmake[6]: Entering directory `/usr/src/freeradius-server-2.1.10/src/modules/rlm_python'
/usr/src/freeradius-server-2.1.10/libtool --mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/freeradius-server-2.1.10/src  -I/usr/include/python2.2 -c rlm_python.c
mkdir .libs
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/freeradius-server-2.1.10/src -I/usr/include/python2.2 -c rlm_python.c  -fPIC -DPIC -o .libs/rlm_python.o
rlm_python.c: In function `python_error':
rlm_python.c:177: `PyGILState_STATE' undeclared (first use in this function)
rlm_python.c:177: (Each undeclared identifier is reported only once
rlm_python.c:177: for each function it appears in.)
rlm_python.c:177: syntax error before "__gstate"
rlm_python.c:195: warning: implicit declaration of function `PyGILState_Release'
rlm_python.c:195: `__gstate' undeclared (first use in this function)
rlm_python.c: In function `python_init':
rlm_python.c:215: warning: passing arg 2 of `PyModule_AddIntConstant' discards qualifiers from pointer target type
rlm_python.c: In function `python_function':
rlm_python.c:352: `PyGILState_STATE' undeclared (first use in this function)
rlm_python.c:352: syntax error before "gstate"
rlm_python.c:375: `gstate' undeclared (first use in this function)
rlm_python.c:375: warning: implicit declaration of function `PyGILState_Ensure'
rlm_python.c: In function `python_load_function':
rlm_python.c:484: `PyGILState_STATE' undeclared (first use in this function)
rlm_python.c:484: syntax error before "gstate"
rlm_python.c:486: `gstate' undeclared (first use in this function)
rlm_python.c: In function `python_objclear':
rlm_python.c:522: `PyGILState_STATE' undeclared (first use in this function)
rlm_python.c:522: syntax error before "__gstate"
rlm_python.c:524: `__gstate' undeclared (first use in this function)
gmake[6]: *** [rlm_python.lo] Error 1
gmake[6]: Leaving directory `/usr/src/freeradius-server-2.1.10/src/modules/rlm_python'
gmake[5]: *** [rlm_python] Error 2
gmake[5]: Leaving directory `/usr/src/freeradius-server-2.1.10/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/src/freeradius-server-2.1.10/src/modules'
gmake[3]: *** [modules] Error 2
gmake[3]: Leaving directory `/usr/src/freeradius-server-2.1.10/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/freeradius-server-2.1.10/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/usr/src/freeradius-server-2.1.10'
make: *** [all] Error 2


personally, I dont use python, so when i blow away src/modules/rlm_python (or disable it)
it compiles.

alan



More information about the Freeradius-Users mailing list