[Freeswitch-users] ESL Wrapper

Anthony Minessale anthony.minessale at gmail.com
Thu Feb 26 11:04:44 PST 2009


the esl php mod is a binary mod which must be compiled so it requires the
devel add on for php


On Thu, Feb 26, 2009 at 12:51 PM, Rex_Alex <rex.alex345 at yahoo.com> wrote:

>
> Hi Mathieu,
>
> But other php scripts are working fine. Only when I am tring
> Single_Command.php with ESP.php, it's not working.
>
> Rex.
>
> 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 at 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 at 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 Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>  UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>  http://www.freeswitch.org
> >>
> >> View this message in context: Re: ESL Wrapper
> >> Sent from the freeswitch-users mailing list archive at Nabble.com.
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/ESL-Wrapper-tp2385651p2391480.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090226/6bef0e9d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list