Brian, I try to put -lutil in the Makefile, LDFLAGS=-lpython2.4 -Xlinker -L$(PREFIX)/lib/python2.4/config/ -lutil It load okay now, 2006-11-09 17:36:28 [NOTICE] mod_python.c:168 switch_module_load() Python Framework Loading... 2006-11-09 17:36:28 [CONSOLE] switch_loadable_module.c:324 switch_loadable_module_load_file() Successfully Loaded [mod_python] 2006-11-09 17:36:28 [NOTICE] switch_loadable_module.c:161 switch_loadable_module_process() Adding Application 'python' 2006-11-09 17:36:28 [CONSOLE] switch_loadable_module.c:324 switch_loadable_module_load_file() Successfully Loaded [mod_cepstral] well, now i can continue testing the python script :) JK On 11/9/06, Brian West <brian.west@mac.com> wrote:
I suspect thats all it is. /b
On Nov 9, 2006, at 1:45 PM, Johny Kadarisman wrote:
Hi Brian,
I just take a look at the swig tools. The swig example to call c function from python, seems like pretty straight forward. But more need to be read ;)
Is the current hurdle only related to linker, or.... something more
JK
On 11/8/06, Brian West <brian.west@mac.com> wrote:
Johny, It needs a little more love before its complete. Do you know anyone willing to pickup development of the module?
/b
On Nov 8, 2006, at 11:12 AM, Johny Kadarisman wrote:
I try to test mod_python, but the module complaint during load time. "undefined symbol: openpty". also try to rebuild Python package in the libs, with no success.
Anything else should I look?
Tx, Johny K.
2006-11-08 10:37:49 [CONSOLE] switch_loadable_module.c:301 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_python.so
**/usr/local/freeswitch/mod/mod_python.so: undefined symbol: openpty**
2006-11-08 10:37:49 [CONSOLE] switch_loadable_module.c:324 switch_loadable_module_load_file() Successfully Loaded [mod_cepstral]
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org