We used to build python 2.5.1 and install it into the freeswitch prefix<br><span class="annLine" title="6393 mikej"><br>we did ./configure --prefix=/usr/local/freeswitch --enable-threads CFLAGSFORSHARED="-fPIC"<br>
<br>But the makefile no longer will find that one so.......<br><br>you could move your python out of the way on your box and try installing this as your system python instead.<br><br></span><span class="annLine" title="6393 mikej">./configure --prefix=/your/real/python/prefix --enable-threads CFLAGSFORSHARED="-fPIC"<br>
</span><br>if you are really brave you could delete the Makefile in mod_python and put back the old one<br>that builds and installs custom python for you into the FS prefix<br><br><a href="http://fisheye.freeswitch.org/browse/~raw,r=6393/FreeSWITCH/src/mod/languages/mod_python/Makefile">http://fisheye.freeswitch.org/browse/~raw,r=6393/FreeSWITCH/src/mod/languages/mod_python/Makefile</a><br>
<br><br>the important thing is the --enable-threads and <span class="annLine" title="6393 mikej">CFLAGSFORSHARED="-fPIC" on whatever one you use.<br><br></span><br><span class="annLine" title="6393 mikej"><br><br>
</span><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 2:31 PM, Brian Deacon <span dir="ltr"><<a href="mailto:bdeacon@highergear.com">bdeacon@highergear.com</a>></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 07:59 -0600, Anthony Minessale wrote:<br>
> There is a big chance some of your problems can come from your system<br>
> copy of python.<br>
> This is one of the reasons we were against using system libs because<br>
> you need python built a certain way to<br>
> work right with embedded code.<br>
><br>
> If you really want to get to the bottom of it you may want to explore<br>
> installing a non standard copy of python the way<br>
> we used to do and compare results.<br>
<br>
</div>I'm in the middle of trying an upgrade to python 2.5 to see if that<br>
makes a difference. But trying a "non-standard" build would be worth<br>
exploring. Can you point me in the right direction?<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>