Hi,<div><br></div><div> Actually what is the difference between ESL in FS 1.0.3 and event socket in FS 1.0.2. Is the FS 1.0.3 ESL superior?<br><br><div class="gmail_quote">On Fri, Feb 27, 2009 at 6:43 PM, Rex_Alex <span dir="ltr"><<a href="mailto:rex.alex345@yahoo.com">rex.alex345@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,
I did what you have all suggested. Now its working perfectly.
Thanks a lot for all your assistance.
Rex.
<blockquote><div>
<div style="font-weight:bold">Raymond Chandler wrote:</div>
<div>
and it will probably be a good idea to do
make phpmod-install
so that the .so and .php files gets into the correct place to be included
-Ray
Mathieu Rene wrote:
>
> You need your distro's php dev pakage.
> On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:
>
>> Hi All, I tried svn up && ./bootstrap.sh && ./configure && make
>> install and did Mathieu's suggestion but getting error as below,
>> [root@server esl]# make phpmod make MYLIB="../libesl.a"
>> SOLINK="-shared -Xlinker -x"
>> CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE
>> -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall
>> -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes
>> -Wmissing-prototypes"
>> CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include
>> -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC"
>> CXX_CFLAGS="" -C php make[1]: php-config: Command not found make[1]:
>> Entering directory `/root/freeswitch-1.0.3/libs/esl/php' g++
>> -I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g
>> -ggdb -I../../libs/libedit/src/ -fPIC -c esl_wrap.cpp -o esl_wrap.o
>> esl_wrap.cpp:717:18: error: zend.h: No such file or directory
>> esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory
>> esl_wrap.cpp:719:17: error: php.h: No such file or directory
>> esl_wrap.cpp:973:21: error: php_ini.h: No such file or directory
>> esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or
>> directory esl_wrap.cpp:767: error: âE_ERRORâ was not declared in this
>> scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of
>> âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788: error:
>> âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:788:
>> error: expected â,â or â;â before â{â token esl_wrap.cpp:793: error:
>> variable or field âSWIG_ZTS_SetPointerZvalâ declared void
>> esl_wrap.cpp:793: error: âzvalâ was not declared in this scope
>> esl_wrap.cpp:793: error: âzâ was not declared in this scope
>> esl_wrap.cpp:793: error: expected primary-expression before âvoidâ
>> esl_wrap.cpp:793: error: expected primary-expression before â*â token
>> esl_wrap.cpp:793: error: âtypeâ was not declared in this scope
>> esl_wrap.cpp:793: error: expected primary-expression before âintâ
>> esl_wrap.cpp:793: error: initializer expression list treated as
>> compound expression esl_wrap.cpp:793: error: expected â,â or â;â
>> before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving
>> directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod]
>> Error 2 [root@server esl]# Please tell me where am i wrong? Thanks, Rex
>>
>> mercutioviz wrote:
>> On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on
>> 1.0.3 I don't think it has php in it.. Can't he do the whole
>> bootstrap process? svn up && ./bootstrap.sh && ./configure &&
>> make install And then do Mathieu's suggestion? -MC
>> _______________________________________________ Freeswitch-users
>> mailing list <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
>>
>>
>> ------------------------------------------------------------------------
>> View this message in context: Re: ESL Wrapper
>>
>> Sent from the freeswitch-users mailing list archive
>> at Nabble.com.
>> _______________________________________________
>> Freeswitch-users mailing list
>> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
>>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
>
_______________________________________________
Freeswitch-users mailing list
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</div>
</div></blockquote><div><div></div><div class="Wj3C7c">
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/ESL-Wrapper-tp2385651p2395557.html" target="_blank">Re: ESL Wrapper</a><br>
Sent from the <a href="http://n2.nabble.com/freeswitch-users-f2379917.html" target="_blank">freeswitch-users mailing list archive</a> at Nabble.com.<br>
</div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thank you with regards,<br>Gopal,<br>PeopleTech Systems Private Limited<br><a href="http://www.peopletech.co.in">www.peopletech.co.in</a><br>
</div>