[Freeswitch-users] phpmod fails to make

Raymond Chandler intralanman at freeswitch.org
Fri Nov 20 10:05:03 PST 2009


try installing php-devel

-Ray

On Nov 20, 2009, at 12:51 PM, 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
> _______________________________________________
> 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





More information about the FreeSWITCH-users mailing list