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