the esl php mod is a binary mod which must be compiled so it requires the devel add on for php<br><br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 12:51 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi Mathieu,<br>
<br>
But other php scripts are working fine. Only when I am tring<br>
Single_Command.php with ESP.php, it's not working.<br>
<br>
Rex.<br>
<div><div></div><div class="Wj3C7c"><br>
Mathieu Rene wrote:<br>
><br>
><br>
> You need your distro's php dev pakage.<br>
> On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:<br>
><br>
>> Hi All, I tried svn up && ./bootstrap.sh && ./configure && make<br>
>> install and did Mathieu's suggestion but getting error as below,<br>
>> [root@server esl]# make phpmod make MYLIB="../libesl.a" SOLINK="-<br>
>> shared -Xlinker -x" CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/<br>
>> include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
>> -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-<br>
>> prototypes -Wmissing-prototypes" CXXFLAGS="-I/root/freeswitch-1.0.3/<br>
>> libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/<br>
>> src/ -fPIC" CXX_CFLAGS="" -C php make[1]: php-config: Command not<br>
>> found make[1]: Entering directory `/root/freeswitch-1.0.3/libs/esl/<br>
>> php' g++ -I/root/freeswitch-1.0.3/libs/esl/src/include -<br>
>> DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -c<br>
>> esl_wrap.cpp -o esl_wrap.o esl_wrap.cpp:717:18: error: zend.h: No<br>
>> such file or directory esl_wrap.cpp:718:22: error: zend_API.h: No<br>
>> such file or directory esl_wrap.cpp:719:17: error: php.h: No such<br>
>> file or directory esl_wrap.cpp:973:21: error: php_ini.h: No such<br>
>> file or directory esl_wrap.cpp:974:31: error: ext/standard/info.h:<br>
>> No such file or directory esl_wrap.cpp:767: error: âE_ERRORâ was not<br>
>> declared in this scope esl_wrap.cpp:788: error: ISO C++ forbids<br>
>> declaration of âZEND_RSRC_DTOR_FUNCâ with no type esl_wrap.cpp:788:<br>
>> error: âSWIG_landfillâ was not declared in this scope esl_wrap.cpp:<br>
>> 788: error: expected â,â or â;â before â{â token esl_wrap.cpp:793:<br>
>> error: variable or field âSWIG_ZTS_SetPointerZvalâ declared void<br>
>> esl_wrap.cpp:793: error: âzvalâ was not declared in this scope<br>
>> esl_wrap.cpp:793: error: âzâ was not declared in this scope<br>
>> esl_wrap.cpp:793: error: expected primary-expression before âvoidâ<br>
>> esl_wrap.cpp:793: error: expected primary-expression before â*â<br>
>> token esl_wrap.cpp:793: error: âtypeâ was not declared in this scope<br>
>> esl_wrap.cpp:793: error: expected primary-expression before âintâ<br>
>> esl_wrap.cpp:793: error: initializer expression list treated as<br>
>> compound expression esl_wrap.cpp:793: error: expected â,â or â;â<br>
>> before â{â token make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving<br>
>> directory `/root/freeswitch-1.0.3/libs/esl/php' make: *** [phpmod]<br>
>> Error 2 [root@server esl]# Please tell me where am i wrong? Thanks,<br>
>> Rex<br>
>> mercutioviz wrote:<br>
>> On Wed, Feb 25, 2009 at 11:34 AM, Brian West wrote: > If he's on<br>
>> 1.0.3 I don't think it has php in it.. Can't he do the whole<br>
>> bootstrap process? svn up && ./bootstrap.sh && ./configure && make<br>
>> install And then do Mathieu's suggestion? -MC<br>
>> _______________________________________________ Freeswitch-users<br>
>> mailing list <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>
>> View this message in context: Re: ESL Wrapper<br>
>> Sent from the freeswitch-users mailing list archive at Nabble.com.<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>
><br>
</div></div>> _______________________________________________<br>
<div class="Ih2E3d">> 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>
><br>
<br>
--<br>
</div>View this message in context: <a href="http://n2.nabble.com/ESL-Wrapper-tp2385651p2391480.html" target="_blank">http://n2.nabble.com/ESL-Wrapper-tp2385651p2391480.html</a><br>
<div><div></div><div class="Wj3C7c">Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>