Hello Friends,<div>I am trying to install free radius on a old linux machine. the configuration is as fillows</div><div><br></div><div><div>[root@localhost freeradius-server-2.1.10]# uname -a</div><div><b>Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux</b></div><div>[root@localhost freeradius-server-2.1.10]# whereis python</div><div><b>python: /usr/bin/python2.2 </b>/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</div><div>[root@localhost freeradius-server-2.1.10]#</div></div><div><br></div><div><br></div><div>While compiling the server i get following errors</div><div><div>root/vijay/freeradius-server-2.1.10/src/freeradius-devel/modules.h:12: warning: `used' attribute ignored</div><div>rlm_python.c: In function `python_error':</div><div>rlm_python.c:177: `PyGILState_STATE' undeclared (first use in this function)</div><div>rlm_python.c:177: (Each undeclared identifier is reported only once</div><div>rlm_python.c:177: for each function it appears in.)</div><div>rlm_python.c:177: parse error before "__gstate"</div><div>rlm_python.c:195: warning: implicit declaration of function `PyGILState_Release'</div><div>rlm_python.c:195: `__gstate' undeclared (first use in this function)</div><div>rlm_python.c: In function `python_init':</div><div>rlm_python.c:215: warning: passing arg 2 of `PyModule_AddIntConstant' discards qualifiers from pointer target type</div><div>rlm_python.c: In function `python_function':</div><div>rlm_python.c:352: `PyGILState_STATE' undeclared (first use in this function)</div><div>rlm_python.c:352: parse error before "gstate"</div><div><br></div><div><br></div><div>By default i had python2.2 installed in my linux PC under the path <b>"/usr/bin/python2.2"</b>, 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 </div><div><br></div><div>Please let me know how can i fix this error and install the Radius server successfully.</div><div><br></div><div>Thank you in advance.</div><div><br></div><div><br></div>Thanks and Regards,</div><div>VIJAY S.</div><br><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A>