<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
and it will probably be a good idea to do <br>
make phpmod-install<br>
so that the .so and .php files gets into the correct place to be
included<br>
<br>
-Ray<br>
<br>
Mathieu Rene wrote:
<blockquote cite="mid:A28FFFB7-C42B-403A-8A8A-4CEF49AB9AC2@avgs.ca"
 type="cite"><br>
You need your distro's php dev pakage.<br>
  <div>
  <div>On 26-Feb-09, at 6:25 AM, Rex_Alex wrote:</div>
  <br class="Apple-interchange-newline">
  <blockquote type="cite">Hi All, I tried svn up &amp;&amp;
./bootstrap.sh &amp;&amp; ./configure &amp;&amp; make install and did
Mathieu's suggestion but getting error as below, [root@server esl]#
make phpmod make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
CFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE
-g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror
-Wunused-variable -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes"
CXXFLAGS="-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE
-g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php make[1]:
php-config: Command not found make[1]: Entering directory
`/root/freeswitch-1.0.3/libs/esl/php' g++
-I/root/freeswitch-1.0.3/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb
-I../../libs/libedit/src/ -fPIC -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:973:21: error: php_ini.h: No such file or directory
esl_wrap.cpp:974:31: error: ext/standard/info.h: No such file or
directory esl_wrap.cpp:767: error: &acirc;E_ERROR&acirc; was not declared in this
scope esl_wrap.cpp:788: error: ISO C++ forbids declaration of
&acirc;ZEND_RSRC_DTOR_FUNC&acirc; with no type esl_wrap.cpp:788: error:
&acirc;SWIG_landfill&acirc; was not declared in this scope esl_wrap.cpp:788: error:
expected &acirc;,&acirc; or &acirc;;&acirc; before &acirc;{&acirc; token esl_wrap.cpp:793: error: variable
or field &acirc;SWIG_ZTS_SetPointerZval&acirc; declared void esl_wrap.cpp:793:
error: &acirc;zval&acirc; was not declared in this scope esl_wrap.cpp:793: error:
&acirc;z&acirc; was not declared in this scope esl_wrap.cpp:793: error: expected
primary-expression before &acirc;void&acirc; esl_wrap.cpp:793: error: expected
primary-expression before &acirc;*&acirc; token esl_wrap.cpp:793: error: &acirc;type&acirc; was
not declared in this scope esl_wrap.cpp:793: error: expected
primary-expression before &acirc;int&acirc; esl_wrap.cpp:793: error: initializer
expression list treated as compound expression esl_wrap.cpp:793: error:
expected &acirc;,&acirc; or &acirc;;&acirc; before &acirc;{&acirc; token make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/root/freeswitch-1.0.3/libs/esl/php' make:
*** [phpmod] Error 2 [root@server esl]# Please tell me where am i
wrong? Thanks, Rex
    <blockquote class="quote light-black dark-border-color">
      <div class="quote light-border-color">
      <div class="quote-author" style="font-weight: bold;">mercutioviz
wrote:</div>
      <div class="quote-message"> On Wed, Feb 25, 2009 at 11:34 AM,
Brian West <brian@freeswitch.org> wrote: &gt; If he's on 1.0.3 I don't
think it has php in it.. Can't he do the whole bootstrap process? svn
up &amp;&amp; ./bootstrap.sh &amp;&amp; ./configure &amp;&amp; make
install And then do Mathieu's suggestion? -MC
_______________________________________________ Freeswitch-users
mailing list <a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a> <a
 moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
      <a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
      </brian@freeswitch.org></div>
      </div>
    </blockquote>
    <br>
    <hr align="left" width="300"> View this message in context: <a
 moz-do-not-send="true"
 href="http://n2.nabble.com/ESL-Wrapper-tp2385651p2389093.html">Re: ESL
Wrapper</a><br>
Sent from the <a moz-do-not-send="true"
 href="http://n2.nabble.com/freeswitch-users-f2379917.html">freeswitch-users
mailing list archive</a> at Nabble.com.<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>