[Freeswitch-users] php esl compilation PBs

jesse chat2jesse at gmail.com
Wed Aug 25 18:11:32 PDT 2010


I don't have issue to build and install phpmod in a second server. but
building failed in the 1st server because of two versions of PHP 5.2.4
& 5.3.3.

try a different server. the build environment set up is painful.

-jesse


On Tue, Aug 24, 2010 at 7:11 PM, Jean-Yves F. Barbier <12ukwn at gmail.com> wrote:
> Debian sid
> ==========
>
> Hi list,
>
> I'm trying to figure out a way to compile ESL for PHP on my system.
>
> I was obliged to copy ../src/include/* into .../esl/php and modify
> them a bit, but I still have an error:
>
> g++   -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o
>
> esl_wrap.cpp:2583: attention : deprecated conversion from string constant
> to ‘char*’
>
> g++  esl_wrap.o   -lcrypt -lcrypt -lonig -ldb -lqdbm -lrt -lm
> -ldl -lnsl -lcrypt -lcrypt -lpthread -o ESL.so -L.
>
> /usr/bin/ld: cannot find -lonig collect2: ld a retourné 1 code d'état
> d'exécution make: *** [ESL.so]
>
> Error 1
>
> Apparently it is a missing library (onig), but which one?
>
> JY
> --
> On a clear disk you can seek forever.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



More information about the FreeSWITCH-users mailing list