Hi all, None of the Makefiles in src/libs/esl and src/libs/esl/{lua,perl,python,ruby} seem to have instructions how to install those modules. Looking at the respective Makefiles I'm pretty clueless which files to put where. The wiki does not seem to have the answer. Anyone have an idea? Thanks, Patrick
They don't install you'll have to manually install them in the proper locations... /b On Jul 13, 2010, at 12:55 PM, Patrick Lists wrote:
Hi all,
None of the Makefiles in src/libs/esl and src/libs/esl/{lua,perl,python,ruby} seem to have instructions how to install those modules. Looking at the respective Makefiles I'm pretty clueless which files to put where. The wiki does not seem to have the answer. Anyone have an idea?
Thanks, Patrick
The wiki is documented, read this section again: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation 2010/7/13 Patrick Lists <freeswitch-list@puzzled.xs4all.nl>
On 07/13/2010 08:00 PM, Brian West wrote:
They don't install you'll have to manually install them in the proper locations...
Can you or anyone else please give me the proper locations for the appropriate files of each module so I can update the wiki?
Thanks, Patrick
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 07/13/2010 09:15 PM, Milena wrote:
The wiki is documented, read this section again: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation
The wiki does not document how to *install* the ESL modules except for the php one. Just how to *make* them. As Brian already mentioned these ESL modules need to be manually installed (except the php one). So the question remains: what are the proper locations for the various files that make up these ESL modules? Thanks, Patrick
On Tue, 2010-07-13 at 22:10 +0200, Patrick Lists wrote:
On 07/13/2010 09:15 PM, Milena wrote:
The wiki is documented, read this section again: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation
The wiki does not document how to *install* the ESL modules except for the php one. Just how to *make* them.
As Brian already mentioned these ESL modules need to be manually installed (except the php one).
So the question remains: what are the proper locations for the various files that make up these ESL modules?
Thanks, Patrick
Everything is there. Check the Makefile. IIRC you do a make all and it will build every language. If you are wanting to include java just make sure to hand edit the makefile in esl/java and point it to the correct JDK path, it assumes 1.6.14 Anthony (zorprime)
On 07/13/2010 10:23 PM, Anthony Cosgrove wrote:
On Tue, 2010-07-13 at 22:10 +0200, Patrick Lists wrote:
On 07/13/2010 09:15 PM, Milena wrote:
The wiki is documented, read this section again: http://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation
The wiki does not document how to *install* the ESL modules except for the php one. Just how to *make* them.
As Brian already mentioned these ESL modules need to be manually installed (except the php one).
So the question remains: what are the proper locations for the various files that make up these ESL modules?
Thanks, Patrick
Everything is there. Check the Makefile. IIRC you do a make all and it will build every language. If you are wanting to include java just make sure to hand edit the makefile in esl/java and point it to the correct JDK path, it assumes 1.6.14
I can *make* the modules fine. The *installation* instructions are missing and that is what I'm looking for. Thanks, Patrick
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']
Hopefully this will get you kickstarted. Anthony
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']
participants (5)
-
Anthony Cosgrove
-
Brian West
-
Michael Jerris
-
Milena
-
Patrick Lists