<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>you need additional libs... editline-devel or something similar. alternatively, you can remove them in the Makefile&nbsp;</div><div><br></div><div>-Ray</div><div><br></div><br><div><div>On Nov 20, 2009, at 1:50 PM, Costa Zikalala wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks for quick responses guys, yes I was doing it under the php directory. <br>I've now also installed php-devel, and am now getting this error: <br><br>make[1]: Entering directory `/home/Costa/freeswitch-1.0.4/libs/esl/php'<br> g++ -shared -Xlinker -x esl_wrap.o ../libesl.a&nbsp; -lcrypt -lcrypt -ledit -lncurses -lresolv -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm -lcrypt -o ESL.so -L.<br>/usr/bin/ld: cannot find -ledit<br>collect2: ld returned 1 exit status<br> make[1]: *** [ESL.so] Error 1<br>make[1]: Leaving directory `/home/Costa/freeswitch-1.0.4/libs/esl/php'<br>make: *** [phpmod] Error 2 <br><br><br> <br><br><div class="gmail_quote">2009/11/20 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I'm going to guess you did cd libs/esl/php then typed make.. move up<br> one dir first then type make phpmod.. but you seem to be missing all<br> the php dev headers.<br> <br> /b<br> <div><div></div><div class="h5"><br> On Nov 20, 2009, at 11:51 AM, Costa Zikalala wrote:<br> <br> &gt; I've been trying to make phpmod without any success. I've even tried<br> &gt; to ./configure --with-php and it did't help.<br> &gt; I've just upgraded to latest svn and am running FS on FC11.<br> &gt;<br> &gt; I keep getting this error message:<br> &gt;<br> &gt; make: php-config: Command not found<br> &gt; g++ &nbsp; &nbsp;-Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o<br> &gt; esl_wrap.o<br> &gt; esl_wrap.cpp:717:18: error: zend.h: No such file or directory<br> &gt; esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory<br> &gt; esl_wrap.cpp:719:17: error: php.h: No such file or directory<br> &gt; esl_wrap.cpp:972:21: error: php_ini.h: No such file or directory<br> &gt; esl_wrap.cpp:973:31: error: ext/standard/info.h: No such file or<br> &gt; directory<br> &gt; esl_wrap.cpp:980:17: error: esl.h: No such file or directory<br> &gt; esl_wrap.cpp:981:21: error: esl_oop.h: No such file or directory<br> &gt; esl_wrap.cpp:767: error: ‘E_ERROR’ was not declared in this scope<br> &gt; esl_wrap.cpp:788: error: ISO C++ forbids declaration of<br> &gt; ‘ZEND_RSRC_DTOR_FUNC’ with no type<br> &gt; esl_wrap.cpp:788: error: ‘SWIG_landfill’ was not declared in this<br> &gt; scope<br> &gt; esl_wrap.cpp:788: error: expected ‘,’ or ‘;’ before ‘{’ token<br> &gt; esl_wrap.cpp:793: error: variable or field ‘SWIG_ZTS_SetPointerZval’<br> &gt; declared void<br> &gt; esl_wrap.cpp:793: error: ‘zval’ was not declared in this scope<br> &gt; esl_wrap.cpp:793: error: ‘z’ was not declared in this scope<br> &gt; esl_wrap.cpp:793: error: expected primary-expression before ‘void’<br> &gt; esl_wrap.cpp:793: error: expected primary-expression before ‘*’ token<br> &gt; esl_wrap.cpp:793: error: ‘type’ was not declared in this scope<br> &gt; esl_wrap.cpp:793: error: expected primary-expression before ‘int’<br> &gt; make: *** [esl_wrap.o] Error 1<br> &gt;<br> &gt; Please help.<br> &gt; Thanks<br> &gt; Costa<br> <br> <br> </div></div>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </blockquote></div><br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></body></html>