[Freeswitch-users] Howto install ESL lua, perl, python, ruby mods?
Michael Jerris
mike at jerris.com
Sat Aug 14 10:36:58 PDT 2010
could someone open a bug on jira about this, perferabally with details where each needs to be installed so we can fix the build system and packages.
Mike
On Jul 14, 2010, at 10:07 AM, Anthony Cosgrove wrote:
> On Wed, 2010-07-14 at 10:35 +0200, Patrick Lists wrote:
>> I can *make* the modules fine. The *installation* instructions are
>> missing and that is what I'm looking for.
>>
>> Thanks,
>> Patrick
>
> Sorry. Yeh... that part is missing. Ok so you'll want to take the
> wrapper .so and the module for the particular language you are
> interested in an place it in your site include locations. I wish I could
> be more specific but every distro does it differently
>
> Perl: Copy ESL.so, ESL.pm, IVR.pm, Dispatch.pm to a location defined in
> your @INC array. To see what's in @INC run perl -e "print join(\"\n\",
> @INC);"
>
> Lua: I don't do much lua so not all of this may be accurate. Make sure
> lua is installed on your system (luamod wouldn't compile for me
> otherwise). ESL.so appears to have to be in the same folder as your
> script.
>
> Python: Same thing. Either ESL.py and _ESL.so need to be in the same
> folder or in your PYTHONPATH. You can get your path by invoking python
> at the command line.
>
>>>> import sys
>>>> print sys.path
> ['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6',
> '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk',
> '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload',
> '/usr/lib64/python2.6/site-packages', '/usr/lib64/portage/pym']
>
More information about the FreeSWITCH-users
mailing list