Thanks Ray, I installed libedit-devel and it worked like charm. Costa 2009/11/20 Raymond Chandler <intralanman@freeswitch.org>
you need additional libs... editline-devel or something similar. alternatively, you can remove them in the Makefile
-Ray
On Nov 20, 2009, at 1:50 PM, Costa Zikalala wrote:
Thanks for quick responses guys, yes I was doing it under the php directory. I've now also installed php-devel, and am now getting this error:
make[1]: Entering directory `/home/Costa/freeswitch-1.0.4/libs/esl/php' g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -lcrypt -lcrypt -ledit -lncurses -lresolv -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm -lcrypt -o ESL.so -L. /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status make[1]: *** [ESL.so] Error 1 make[1]: Leaving directory `/home/Costa/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2
2009/11/20 Brian West <brian@freeswitch.org>
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org