i think there is a .php and a .so you could install into your php lib dir?<br><br><br><div class="gmail_quote">On Fri, Jan 15, 2010 at 4:54 PM, Alfredo Quiroga-Villamil <span dir="ltr">&lt;<a href="mailto:lawwton@gmail.com">lawwton@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Looking over at this, perhaps it even worked.<br>
<br>
I see now under libs/esl/php/... the following two new files:<br>
<br>
esl_wrap.o<br>
ESL.o<br>
<br>
Is there a way to verify that FS has support after running make and<br>
make phpmod for php?<br>
<br>
Thanks in advance,<br>
<font color="#888888"><br>
Alfredo<br>
</font><div><div></div><div class="h5"><br>
On Fri, Jan 15, 2010 at 5:37 PM, Alfredo Quiroga-Villamil<br>
&lt;<a href="mailto:lawwton@gmail.com">lawwton@gmail.com</a>&gt; wrote:<br>
&gt; All:<br>
&gt;<br>
&gt; System:<br>
&gt;<br>
&gt; Linux usnc-rtp-01-fs 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT<br>
&gt; 2007 i686 i686 i386 GNU/Linux<br>
&gt;<br>
&gt; I am trying to compile ESL, following the following steps:<br>
&gt;<br>
&gt; 1- cd to my libs/esl directory as the wiki page indicates.<br>
&gt; 2- run make<br>
&gt;<br>
&gt; I then get right away the following:<br>
&gt;<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes -c src/esl.c -o src/esl.o<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes -c src/esl_event.c -o<br>
&gt; src/esl_event.o<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes -c src/esl_threadmutex.c -o<br>
&gt; src/esl_threadmutex.o<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes -c src/esl_config.c -o<br>
&gt; src/esl_config.o<br>
&gt; g++  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror<br>
&gt; -Wno-unused-variable -c src/esl_oop.cpp -o src/esl_oop.o<br>
&gt; ar rcs libesl.a src/esl.o src/esl_event.o src/esl_threadmutex.o<br>
&gt; src/esl_config.o src/esl_oop.o<br>
&gt; ranlib libesl.a<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes fs_cli.c -o fs_cli -L.<br>
&gt; -L../../libs/libedit/src/.libs -lncurses -lpthread -lesl -ledit<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes testclient.c -o testclient<br>
&gt; -L. -lncurses -lpthread -lesl<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes testserver.c -o testserver<br>
&gt; -L. -lncurses -lpthread -lesl<br>
&gt; cc  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes ivrd.c -o ivrd -L. -lncurses<br>
&gt; -lpthread -lesl<br>
&gt;<br>
&gt; 3- I try typing then:<br>
&gt;<br>
&gt; make phpmod and get the following:<br>
&gt;<br>
&gt; make MYLIB=&quot;../libesl.a&quot; SOLINK=&quot;-shared -Xlinker -x&quot;<br>
&gt; CFLAGS=&quot;-I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2<br>
&gt; -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings<br>
&gt; -Wstrict-prototypes -Wmissing-prototypes&quot;<br>
&gt; CXXFLAGS=&quot;-I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror<br>
&gt; -Wno-unused-variable&quot; CXX_CFLAGS=&quot;&quot; -C php<br>
&gt; make[1]: Entering directory<br>
&gt; `/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/php&#39;<br>
&gt; g++  -I/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/src/include<br>
&gt; -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror<br>
&gt; -Wno-unused-variable -I/usr/include/php -I/usr/include/php/main<br>
&gt; -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext<br>
&gt; -I/usr/include/php/ext/date/lib -Wno-unused-label -Wno-unused-function<br>
&gt; -c esl_wrap.cpp -o esl_wrap.o<br>
&gt; g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/kerberos/lib<br>
&gt; -lcrypt -lcrypt -lncurses -laspell -lpspell -lcurl -lresolv -lm -ldl<br>
&gt; -lnsl -lm -ldl -lcurl -ldl -lm -lcrypt -lm -lm -lcrypt -lpthread -o<br>
&gt; ESL.so -L.<br>
&gt; make[1]: Leaving directory<br>
&gt; `/usr/src/freeswitch-1.0.5-20100113-0400/libs/esl/php&#39;<br>
&gt;<br>
&gt; I&#39;ve installed I think all the -dev dependencies listed in the wiki. Any ideas?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; Alfredo Q-V<br>
&gt;<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>