[Freeswitch-users] phpmod fails to make
Brian West
brian at freeswitch.org
Fri Nov 20 09:58:36 PST 2009
I'm going to guess you did cd libs/esl/php then typed make.. move up
one dir first then type make phpmod.. but you seem to be missing all
the php dev headers.
/b
On Nov 20, 2009, at 11:51 AM, Costa Zikalala 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
>
> Please help.
> Thanks
> Costa
More information about the FreeSWITCH-users
mailing list