<div><font size=2 color=navy face=Arial>
I'm not sure what version of python is required, but I'm fairly certain the development version is.  Make sure you have the development python package installed.  Also, it may by default got to /usr/local/bin</font></div>
<br><div><hr size=2 width="100%" align=center tabindex=-1>
<font face=Tahoma size=2>
<b>From</b>: freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org <freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org> <br><b>To</b>: freeradius-users@lists.freeradius.org <freeradius-users@lists.freeradius.org> <br><b>Sent</b>: Mon Jan 24 03:32:06 2011<br><b>Subject</b>: problem installing freeRadius Server <br></font><br></div>
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>



<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>