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.
Jean-Yves, you may describe exactly all the steps you are taking, the command you use to compile ESL, and how you compiled FreeSWITCH before. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 25/08/2010 à 04:11, Jean-Yves F. Barbier a écrit :
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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Le Wed, 25 Aug 2010 10:30:09 +0200, David Ponzone <david.ponzone@ipeva.fr> a écrit : Ok: I got the source from the GIT, enabled & disabled 2-3 modules, launched a modified configure: --enable-external-libs \ --with-ogg-libraries=/usr/lib \ --with-ogg-includes=/usr/lib/ogg \ --with-vorbis-libraries=/usr/lib \ --with-vorbis-includes=/usr/include \ --with-flac \ --enable-optimization \ --enable-kernel-linux \ --enable-utf8 \ --enable-unicode-properties \ --enable-pcregrep-libz \ --enable-pcregrep-libbz2 \ --enable-pcretest-libreadline \ --enable-nonportable-atomics \ --enable-threadsafe \ --enable-accross-thread-connections \ --enable-threads \ --enable-thread \ --enable-other-child \ --with-devrandom=/dev/urandom \ --with-pgsql=/usr/include/postgresql \ --enable-nonblocking \ --enable-crypto-auth \ --with-ssl=/usr/include/openssl \ --with-zlib=/usr/include \ --with-libidn=/usr/include \ --enable-cplus \ --with-editline and: make all; make install. Then I go to libs/esl/php, copy ../src/include/* into it, modify some references ("xxx.h" instead of <xxx.h> to avoid path errors) and make.
you may describe exactly all the steps you are taking, the command you use to compile ESL, and how you compiled FreeSWITCH before.
-- "If you don't want your dog to have bad breath, do what I do: Pour a little Lavoris in the toilet." -- Jay Leno
Isn't --with-php required too ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 25/08/2010 à 14:32, Jean-Yves F. Barbier a écrit :
Le Wed, 25 Aug 2010 10:30:09 +0200, David Ponzone <david.ponzone@ipeva.fr> a écrit :
Ok: I got the source from the GIT, enabled & disabled 2-3 modules, launched a modified configure:
--enable-external-libs \ --with-ogg-libraries=/usr/lib \ --with-ogg-includes=/usr/lib/ogg \ --with-vorbis-libraries=/usr/lib \ --with-vorbis-includes=/usr/include \ --with-flac \ --enable-optimization \ --enable-kernel-linux \ --enable-utf8 \ --enable-unicode-properties \ --enable-pcregrep-libz \ --enable-pcregrep-libbz2 \ --enable-pcretest-libreadline \ --enable-nonportable-atomics \ --enable-threadsafe \ --enable-accross-thread-connections \ --enable-threads \ --enable-thread \ --enable-other-child \ --with-devrandom=/dev/urandom \ --with-pgsql=/usr/include/postgresql \ --enable-nonblocking \ --enable-crypto-auth \ --with-ssl=/usr/include/openssl \ --with-zlib=/usr/include \ --with-libidn=/usr/include \ --enable-cplus \ --with-editline
and: make all; make install.
Then I go to libs/esl/php, copy ../src/include/* into it, modify some references ("xxx.h" instead of <xxx.h> to avoid path errors) and make.
you may describe exactly all the steps you are taking, the command you use to compile ESL, and how you compiled FreeSWITCH before.
-- "If you don't want your dog to have bad breath, do what I do: Pour a little Lavoris in the toilet." -- Jay Leno
_______________________________________________ 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
FreeSWITCH has zero knowledge of PHP. /b On Aug 25, 2010, at 9:35 AM, David Ponzone wrote:
Isn't --with-php required too ?
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
Brian, you're right of course, I think I am confusing with the --with-lua I add to use some months ago. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 25/08/2010 à 16:52, Brian West a écrit :
FreeSWITCH has zero knowledge of PHP.
/b
On Aug 25, 2010, at 9:35 AM, David Ponzone wrote:
Isn't --with-php required too ?
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.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
Le Wed, 25 Aug 2010 10:30:09 +0200, David Ponzone <david.ponzone@ipeva.fr> a écrit : OOPS: Forgot ./bootstrap.sh before ./configure! -- Every time I lose weight, it finds me again!
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Brian West
-
David Ponzone
-
Jean-Yves F. Barbier
-
jesse