Dear all, In the previous post, I got the information that using event outbound socket we can implement the IVR and also see the example in libs/esl/perl/server2.pl. I have seen it and understood the flow of the script.But when I was running that script it tells the following error. Can't locate loadable object for module ESL in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ESL.pm line 11 Compilation failed in require at server2.pl line 1. Then I checked the 11th line in the ESL.pm that line is (bootstrap ESL;) But in perl directory there is no directory called ESL. What would be the issue?. Is ESL necessary is necessary for implementing IVR using event outbound socket? -- Regards, Thangappan.M
Make certain that you've built both libesl and the Perl mod. Change directory into /usr/src/freeswitch.trunk/libs/esl (or whatever your path is to libs/esl) and do these commands: make make perlmod Then give it another shot. -MC On Mon, Jul 27, 2009 at 11:16 PM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
In the previous post, I got the information that using event outbound socket we can implement the IVR and also see the example in libs/esl/perl/server2.pl.
I have seen it and understood the flow of the script.But when I was running that script it tells the following error.
Can't locate loadable object for module ESL in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ESL.pm line 11 Compilation failed in require at server2.pl line 1.
Then I checked the 11th line in the ESL.pm that line is (bootstrap ESL;) But in perl directory there is no directory called ESL.
What would be the issue?. Is ESL necessary is necessary for implementing IVR using event outbound socket?
-- Regards, Thangappan.M
_______________________________________________ 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
Don't forget you need to install libs/esl/perl/ESL.so and libs/esl/ perl/ESL.pm into your system perl library path. /b On Jul 28, 2009, at 1:53 AM, Michael Collins wrote:
Make certain that you've built both libesl and the Perl mod. Change directory into /usr/src/freeswitch.trunk/libs/esl (or whatever your path is to libs/esl) and do these commands: make make perlmod
Then give it another shot. -MC
Hello Bringing up a very old post, when making perlmod-install I get: install -m 755 ESL.so /usr/local/share/perl/5.14.2 install: cannot create regular file `/usr/local/share/perl/5.14.2': No such file or directory make: *** [install] Error 1 I assume that's because make is trying to install to "/usr/local/share/perl/5.14.2" which doesn't exists in my wheezy/sid, but should be installed in "/usr/share/perl/5.14.2" How can I change the destination directory? Thanks David On Tue, Jul 28, 2009 at 10:26 AM, Brian West <brian@freeswitch.org> wrote:
Don't forget you need to install libs/esl/perl/ESL.so and libs/esl/ perl/ESL.pm into your system perl library path.
/b
On Jul 28, 2009, at 1:53 AM, Michael Collins wrote:
Make certain that you've built both libesl and the Perl mod. Change directory into /usr/src/freeswitch.trunk/libs/esl (or whatever your path is to libs/esl) and do these commands: make make perlmod
Then give it another shot. -MC
_______________________________________________ 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 31/07/12 17:50, David Villasmil wrote:
Bringing up a very old post, when making perlmod-install I get:
install -m 755 ESL.so /usr/local/share/perl/5.14.2 install: cannot create regular file `/usr/local/share/perl/5.14.2': No such file or directory make: *** [install] Error 1
I assume that's because make is trying to install to "/usr/local/share/perl/5.14.2" which doesn't exists in my wheezy/sid, but should be installed in "/usr/share/perl/5.14.2"
How can I change the destination directory?
It should probably be installed in /usr/local, just run: mkdir -p /usr/local/share/perl/5.14.2 and then re-run your `make perlmod-install`. Regards,
Hello Paul, Yes, i thought of doing that of course, but I'm not sure I want to install it in a non-standard path (for my setup)... I'll do that anyway. Thanks David On Tue, Jul 31, 2012 at 8:24 PM, Paul Cupis <paul@cupis.co.uk> wrote:
On 31/07/12 17:50, David Villasmil wrote:
Bringing up a very old post, when making perlmod-install I get:
install -m 755 ESL.so /usr/local/share/perl/5.14.2 install: cannot create regular file `/usr/local/share/perl/5.14.2': No such file or directory make: *** [install] Error 1
I assume that's because make is trying to install to "/usr/local/share/perl/5.14.2" which doesn't exists in my wheezy/sid, but should be installed in "/usr/share/perl/5.14.2"
How can I change the destination directory?
It should probably be installed in /usr/local, just run:
mkdir -p /usr/local/share/perl/5.14.2
and then re-run your `make perlmod-install`.
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
participants (5)
-
Brian West
-
David Villasmil
-
Michael Collins
-
Paul Cupis
-
Thangappan.M