<br><font size=2 face="Trebuchet MS"><br>
yes the python version is old</font>
<br><font size=2 face="Trebuchet MS">use the latest python version</font>
<br><font size=2 face="Trebuchet MS">i also faced the same problem :0)<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="Trebuchet MS"><b>henry1412 <henry1412@163.com></b>
</font>
<br><font size=1 face="Trebuchet MS">Sent by: freeradius-users-bounces+nayan.gjain=lntinfotech.com@lists.freeradius.org</font>
<p><font size=1 face="Trebuchet MS">12/10/2008 12:18 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="Trebuchet MS">Please respond to<br>
FreeRadius users mailing list <freeradius-users@lists.freeradius.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="Trebuchet MS">To</font></div>
<td><font size=1 face="Trebuchet MS">freeradius-users@lists.freeradius.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="Trebuchet MS">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="Trebuchet MS">Subject</font></div>
<td><font size=1 face="Trebuchet MS">python error in complie freeradius-2.1.3</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3 face="sans-serif"> I install freeradius-2.1.3 on
redhat9, the python version is 2.2</font>
<br><font size=3 face="sans-serif">When I make the freeradius, it reports
many error in rlm_python.c file</font>
<br><font size=3 face="sans-serif"> </font>
<br><font size=3 face="sans-serif">I paste the error information below</font>
<br><font size=3 face="sans-serif">rlm_python.c: In function `python_error':<br>
rlm_python.c:163: `PyGILState_STATE' undeclared (first use in this function)<br>
rlm_python.c:163: (Each undeclared identifier is reported only once<br>
rlm_python.c:163: for each function it appears in.)<br>
rlm_python.c:163: parse error before "__gstate"<br>
rlm_python.c:181: warning: implicit declaration of function `PyGILState_Release'<br>
rlm_python.c:181: `__gstate' undeclared (first use in this function)<br>
rlm_python.c: In function `python_init':<br>
rlm_python.c:201: warning: passing arg 2 of `PyModule_AddIntConstant' discards
qualifiers from pointer target type<br>
rlm_python.c: In function `python_function':<br>
rlm_python.c:338: `PyGILState_STATE' undeclared (first use in this function)<br>
rlm_python.c:338: parse error before "gstate"<br>
rlm_python.c:361: `gstate' undeclared (first use in this function)<br>
rlm_python.c:361: warning: implicit declaration of function `PyGILState_Ensure'<br>
rlm_python.c: In function `python_load_function':<br>
rlm_python.c:470: `PyGILState_STATE' undeclared (first use in this function)<br>
rlm_python.c:470: parse error before "gstate"<br>
rlm_python.c:472: `gstate' undeclared (first use in this function)<br>
rlm_python.c: In function `python_objclear':<br>
rlm_python.c:508: `PyGILState_STATE' undeclared (first use in this function)<br>
rlm_python.c:508: parse error before "__gstate"</font>
<br><font size=3 face="sans-serif"> </font>
<br><font size=3 face="sans-serif">Is my python version too old ?</font>
<br><font size=3 face="sans-serif"><br>
</font><font size=3 color=blue face="sans-serif"><u><br>
</u></font><a href=http://www.yeah.net/><font size=3 color=blue face="sans-serif"><u>网易免费邮,全球最大的中文免费邮箱</u></font></a><font size=3 face="sans-serif">
<br>
______________________________________________________________________</font><tt><font size=2>-<br>
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html</font></tt>
<br>

<BR>
______________________________________________________________________<BR>