Hello Friends,I am trying to install free radius on a old linux machine. the
configuration is as fillows
[root@localhost freeradius-server-2.1.10]# uname -aLinux localhost.localdomain
2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux[root@localhost freeradius-server-2.1.10]# whereis pythonpython:
/usr/bin/python2.2 /usr/bin/python /usr/lib/python2.2 /usr/local/bin/python2.7
/usr/local/bin/python2.7-config /usr/local/bin/python /usr/local/lib/python2.7
/usr/include/python2.2 /usr/share/man/man1/python.1.gz[root@localhost
freeradius-server-2.1.10]#
While compiling the server i get following
errorsroot/vijay/freeradius-server-2.1.10/src/freeradius-devel/modules.h:12:
warning: `used' attribute ignoredrlm_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
oncerlm_python.c:177: for each function it appears in.)rlm_python.c:177: parse
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 typerlm_python.c: In function
`python_function':rlm_python.c:352: `PyGILState_STATE' undeclared (first use in
this function)rlm_python.c:352: parse error before "gstate"
By default i had python2.2 installed in my linux PC under the path
"/usr/bin/python2.2", in the mailing list somebody replied that new version of
python is required, so I installed Python2.7.1. but in "/usr/bin" i can't see
python2.7.1
Please let me know how can i fix this error and install the Radius server
successfully.
Thank you in advance.
Thanks and Regards,VIJAY S.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html