for good measure i would rebuild just mod_python<br><br>make mod_python-clean<br>make mod_python-install<br><br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 5:07 PM, Brian Deacon <span dir="ltr">&lt;<a href="mailto:bdeacon@highergear.com">bdeacon@highergear.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Thu, 2009-01-29 at 14:49 -0600, Anthony Minessale wrote:<br>
&gt; We used to build python 2.5.1 and install it into the freeswitch<br>
&gt; prefix<br>
&gt;<br>
&gt; we did ./configure --prefix=/usr/local/freeswitch<br>
&gt; --enable-threads CFLAGSFORSHARED=&quot;-fPIC&quot;<br>
&gt;<br>
&gt; But the makefile no longer will find that one so.......<br>
&gt;<br>
&gt; you could move your python out of the way on your box and try<br>
&gt; installing this as your system python instead.<br>
&gt;<br>
&gt; ./configure --prefix=/your/real/python/prefix<br>
&gt; --enable-threads CFLAGSFORSHARED=&quot;-fPIC&quot;<br>
&gt;<br>
&gt; if you are really brave you could delete the Makefile in mod_python<br>
&gt; and put back the old one<br>
&gt; that builds and installs custom python for you into the FS prefix<br>
&gt;<br>
&gt; <a href="http://fisheye.freeswitch.org/browse/%7Eraw,r=6393/FreeSWITCH/src/mod/languages/mod_python/Makefile" target="_blank">http://fisheye.freeswitch.org/browse/~raw,r=6393/FreeSWITCH/src/mod/languages/mod_python/Makefile</a><br>

&gt;<br>
&gt;<br>
&gt; the important thing is the --enable-threads and<br>
&gt; CFLAGSFORSHARED=&quot;-fPIC&quot; on whatever one you use.<br>
&gt;<br>
<br>
</div>So this is the error that gdb shows me, do you think this is the kind of<br>
thing that the &quot;special&quot; compile would clear up?<br>
<br>
2009-01-29 15:57:12 [NOTICE] mod_python.c:107 eval_some_python()<br>
Invoking py module: callcontrol.routing.DummyRouteHandler<br>
2009-01-29 15:57:12 [ERR] mod_python.c:121 eval_some_python() Error<br>
importing module<br>
Traceback (most recent call last):<br>
 &nbsp;File<br>
&quot;/usr/local/freeswitch/python/callcontrol/routing/DummyRouteHandler.py&quot;,<br>
line 19, in ?<br>
 &nbsp; &nbsp;import sqlalchemy<br>
 &nbsp;File &quot;/usr/lib/python2.4/site-packages/sqlalchemy/__init__.py&quot;, line<br>
8, in ?<br>
 &nbsp; &nbsp;from sqlalchemy.types import \<br>
 &nbsp;File &quot;/usr/lib/python2.4/site-packages/sqlalchemy/types.py&quot;, line 25,<br>
in ?<br>
 &nbsp; &nbsp;import datetime as dt<br>
ImportError: /usr/lib/python2.4/lib-dynload/datetime.so: undefined<br>
symbol: _Py_ZeroStruct<br>
<br>
<br>
<br>
And I believe I understood the answer I got on IRC, but just want to<br>
confirm... If I remove my standard build of python 2.4 and do the<br>
special build of 2.5.4, I don&#39;t need to do anything more than bounce<br>
freeswitch? &nbsp;Or do I need to rebuild freeswitch so it builds mod_python<br>
against my new version of python?<br>
<br>
Thanks again, you guys have been quite helpful and responsive. &nbsp;I&#39;m<br>
doubling what I&#39;m paying you right now. &nbsp;:)<br>
<div><div></div><div class="Wj3C7c"><br>
Brian<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>