More info:
FreeSWITCH Version 1.4.12+git~20141010T211602Z~b33a86cd48~64bit (git b33a86c 2014-10-10 21:16:02Z 64bit)
php -v
PHP 5.4.32 (cli) (built: Sep 4 2014 14:07:19)
Package php54-devel-5.4.32-2.ius.centos6.x86_64 already installed and latest version
Thanks!
On Wed, Oct 22, 2014 at 5:38 PM, Javier Aristizábal <javieraristizabal@gmail.com> wrote:Hello, I have the same thing but on CentOS 6.5. Any idea? please :-)# make phpmod
make MYLIB=".././.libs/libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1" CXX_CFLAGS="" -C php
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/php'
g++ -I/usr/src/freeswitch/libs/esl/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/src/freeswitch/libs/esl/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o
esl_wrap.cpp:741:18: error: zend.h: No such file or directory
esl_wrap.cpp:742:22: error: zend_API.h: No such file or directory
esl_wrap.cpp:743:29: error: zend_exceptions.h: No such file or directory
esl_wrap.cpp:744:17: error: php.h: No such file or directory
esl_wrap.cpp:745:37: error: ext/standard/php_string.h: No such file or directory
esl_wrap.cpp:1093:21: error: php_ini.h: No such file or directory
esl_wrap.cpp:1094:31: error: ext/standard/info.h: No such file or directory
esl_wrap.cpp:803: error: ‘E_ERROR’ was not declared in this scope
esl_wrap.cpp:824: error: ISO C++ forbids declaration of ‘ZEND_RSRC_DTOR_FUNC’ with no type
esl_wrap.cpp:824: error: ‘SWIG_landfill’ was not declared in this scope
esl_wrap.cpp:824: error: expected ‘,’ or ‘;’ before ‘{’ token
esl_wrap.cpp:830: error: variable or field ‘SWIG_ZTS_SetPointerZval’ declared void
esl_wrap.cpp:830: error: ‘zval’ was not declared in this scope
esl_wrap.cpp:830: error: ‘z’ was not declared in this scope
esl_wrap.cpp:830: error: expected primary-expression before ‘void’
esl_wrap.cpp:830: error: expected primary-expression before ‘*’ token
esl_wrap.cpp:830: error: ‘type’ was not declared in this scope
esl_wrap.cpp:830: error: expected primary-expression before ‘int’
make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/php'
make: *** [phpmod] Error 2
--On Tue, Oct 14, 2014 at 11:17 AM, Delifisek Tux <delifisek.tux@gmail.com> wrote:My best regards.Thank you so much.Done :)2014-10-14 11:55 GMT+03:00 Denis Papes <shishko69@gmail.com>:You should install QDBM Database Libraries for C++ and Development files for libonig2apt-get install libqdbm-devapt-get install libonig-devOn Tue, Oct 14, 2014 at 10:22 AM, Delifisek Tux <delifisek.tux@gmail.com> wrote:_________________________________________________________________________Freeswtich 1.2.stable, 1.4 and lastest was giving same errors.Everhing goes fine however when I try to compile phpmod for esl I got strange errors. And seaching google does not provide informationHello All.I'm trying to build freeswitch for my testing purposes.
Last 2 days I try to build freeswitch with php support
root@fs2:/usr/src/freeswitch/libs/esl# make phpmod
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/php'
g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/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/lib/php5 -L/usr/lib/x86_64-linux-gnu -lcrypt -lcrypt -lonig -lstdc++ -ldb -lqdbm -lrt -lm -ldl -lnsl -lcrypt -lcrypt -lpthread -o ESL.so -L.
/usr/bin/ld: cannot find -lonig
/usr/bin/ld: cannot find -lqdbm
collect2: error: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/php'
make: *** [phpmod] Error 2I follow this documentDebian 7.6 64bit.
https://confluence.freeswitch.org/display/FREESWITCH/Debian#Debian-BuildingFromSource
I think there where missing libs and I can't find it.
My best regards.
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
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
Javier Aristizábal
--
Javier Aristizábal
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
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