[Freeswitch-users] need help to install and use the Event socket library

ha do haloha201 at yahoo.com
Fri Dec 10 11:14:18 MSK 2010


Hi all

i follow the wiki page
http://wiki.freeswitch.org/wiki/Event_Socket_Library

the steps:
cd ../libs/esl

then vi python/Makefile and edit
from
LOCAL_CFLAGS=`python ./python-config --includes`
LOCAL_LDFLAGS=`python ./python-config --ldflags`

to 
LOCAL_CFLAGS=`python2.5 ./python-config --includes`
LOCAL_LDFLAGS=`python2.5 ./python-config --ldflags`

make pymod
done

then i switch to python mode
do from freeswitch import * and get error:
>>> from freeswitch import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/freeswitch.py", line 7, in <module>
    import _freeswitch
ImportError: No module named _freeswitch


how do i install the esl for python properly

thank you
Ha`



      



More information about the FreeSWITCH-users mailing list