Hi <meta charset="utf-8">Joćo,<div><br></div><div>I am still not able to get it to compile for 2.6.</div><div><br></div><div>By 'path' I assume you mean whatever version /usr/bin/python points to? I tried aliasing that with 2.6, it still didn't work. Note that it's not recommended to replace 2.6 with 2.4 on CentOS, so I've installed it in parallel.</div>
<div><br></div><div>How exactly do I modify python-config? I tried setting the first line to '#! /usr/bin/python2.6', but that didn't work. Also tried changed the 'pyver' variable to '2.6', but then I get a compilation error saying that lib is not found.</div>
<div><br></div><div>Thanks,</div><div>Neil</div><div><br><div class="gmail_quote">2010/8/11 Joćo Mesquita <span dir="ltr"><<a href="mailto:jmesquita@freeswitch.org">jmesquita@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Neil, that's because ESL is being compiled against 2.4 and not 2.6. It will use whatever is set on your path.<div><br></div><div>You don't have to change anything on SWIG. You only have to change what is being generated by the python-config script located in ${SRC}/libs/esl/python</div>
<div><br></div><div>Hope that helps.</div><div><br clear="all">Joćo Mesquita<br>
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Aug 10, 2010 at 4:12 AM, Neil Patel <span dir="ltr"><<a href="mailto:neilp@cs.stanford.edu" target="_blank">neilp@cs.stanford.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi All,<div><br></div><div>I am using Python 2.6 on my CentOS installation, installed in parallel to the standard Python 2.4. I've compiled FS's python ESL module using 'make pymod', but the ESL python module causes a segfault when I try to import it in Python 2.6 (imports fine in 2.4). I'm guessing this is because the ESL module was compiled for Python 2.4. How do I change the ESL config/makefiles to compile for 2.6? I'm not familiar with SWIG, is there some configuration I need to change with it to use python2.6 executable?</div>
<div><br></div><div>Thanks,<br><font color="#888888">Neil</font></div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br></div>
<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>
<br></blockquote></div><br></div>