<br clear="all">Thanks Ray, I installed libedit-devel and it worked like charm.<br><br>Costa<br><br>
<br><br><div class="gmail_quote">2009/11/20 Raymond Chandler <span dir="ltr"><<a href="mailto:intralanman@freeswitch.org">intralanman@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><div>you need additional libs... editline-devel or something similar. alternatively, you can remove them in the Makefile </div><div><br></div><div>-Ray</div><div><div></div><div class="h5">
<div><br></div><br><div><div>On Nov 20, 2009, at 1:50 PM, Costa Zikalala wrote:</div><br><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 -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"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></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><br> On Nov 20, 2009, at 11:51 AM, Costa Zikalala wrote:<br>
<br> > I've been trying to make phpmod without any success. I've even tried<br> > to ./configure --with-php and it did't help.<br> > I've just upgraded to latest svn and am running FS on FC11.<br>
><br> > I keep getting this error message:<br> ><br> > make: php-config: Command not found<br> > g++ -Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o<br> > esl_wrap.o<br> > esl_wrap.cpp:717:18: error: zend.h: No such file or directory<br>
> esl_wrap.cpp:718:22: error: zend_API.h: No such file or directory<br> > esl_wrap.cpp:719:17: error: php.h: No such file or directory<br> > esl_wrap.cpp:972:21: error: php_ini.h: No such file or directory<br> > esl_wrap.cpp:973:31: error: ext/standard/info.h: No such file or<br>
> directory<br> > esl_wrap.cpp:980:17: error: esl.h: No such file or directory<br> > esl_wrap.cpp:981:21: error: esl_oop.h: No such file or directory<br> > esl_wrap.cpp:767: error: ‘E_ERROR’ was not declared in this scope<br>
> esl_wrap.cpp:788: error: ISO C++ forbids declaration of<br> > ‘ZEND_RSRC_DTOR_FUNC’ with no type<br> > esl_wrap.cpp:788: error: ‘SWIG_landfill’ was not declared in this<br> > scope<br> > esl_wrap.cpp:788: error: expected ‘,’ or ‘;’ before ‘{’ token<br>
> esl_wrap.cpp:793: error: variable or field ‘SWIG_ZTS_SetPointerZval’<br> > declared void<br> > esl_wrap.cpp:793: error: ‘zval’ was not declared in this scope<br> > esl_wrap.cpp:793: error: ‘z’ was not declared in this scope<br>
> esl_wrap.cpp:793: error: expected primary-expression before ‘void’<br> > esl_wrap.cpp:793: error: expected primary-expression before ‘*’ token<br> > esl_wrap.cpp:793: error: ‘type’ was not declared in this scope<br>
> esl_wrap.cpp:793: error: expected primary-expression before ‘int’<br> > make: *** [esl_wrap.o] Error 1<br> ><br> > Please help.<br> > Thanks<br> > Costa<br> <br> <br> </div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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" target="_blank">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></div></div></div><br>_______________________________________________<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>
<br></blockquote></div><br>