[Freeswitch-users] phpmod fails to make

Michael Collins msc at freeswitch.org
Fri Nov 20 10:06:43 PST 2009


On Fri, Nov 20, 2009 at 9:51 AM, Costa Zikalala <costa.zikalala at gmail.com>wrote:

> I've been trying to make phpmod without any success. I've even tried to
> ./configure --with-php and it did't help.
> I've just upgraded to latest svn and am running FS on FC11.
>
> I keep getting this error message:
>
> make: php-config: Command not found
> g++    -Wno-unused-label -Wno-unused-function -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:972:21: error: php_ini.h: No such file or directory
> esl_wrap.cpp:973:31: error: ext/standard/info.h: No such file or directory
> esl_wrap.cpp:980:17: error: esl.h: No such file or directory
> esl_wrap.cpp:981:21: error: esl_oop.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’
> make: *** [esl_wrap.o] Error 1
>
>
Did you install the php-devel stuff?
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091120/27494a57/attachment-0002.html 


More information about the FreeSWITCH-users mailing list