Hello,
I added g++ in the tutorial -- iirc, in the past c++ compiler was installed by default with gcc package, but I noticed also that with latest distros it is separate package:
* http://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/#prerequisites
g++ is needed by some modules that link to C++ libraries, such as app_sqlang, phonenum or ndb_cassandra.
Cheers,
Daniel
Sorry guys, I have been strictly following below guide for the installation.
Feeling dumb I should have searched it before. After installing g++ issue is resolved.
Thanks, everyone.
On 27 February 2018 at 19:17, Rinor Hoxha <rinorhoxha@gmail.com> wrote:
Hi Aqs,
Add app_sqlang to skip_modules if you do not need it.
example: (tune it to your needs)
make PREFIX="/usr/local/kamailio" include_modules="db_mysql dialplan app_lua" skip_modules="app_jsdt app_perl app_python app_sqlang" cfg
Br, Rinor
On 02/27/2018 03:04 PM, Aqs Younas wrote:
Greetings list,
I am trying to install Kamailio 5.1 from source code on Debian 8.10. But It is failing with below error. Don't know what could be wrong.
Any suggestion is much appreciated. Thanks.
make --no-print-directory -C ./squirrel/squirrel SQMARCH64="-m64" CC_EXTRA_FLAGS="-fPIC" \OUT="../../libsquirrel.a" sq64gcc -O2 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c sqapi.cpp sqbaselib.cpp sqfuncstate.cpp sqdebug.cpp sqlexer.cpp sqobject.cpp sqcompiler.cpp sqstate.cpp sqtable.cpp sqmem.cpp sqvm.cpp sqclass.cpp -I../include -I. -Iinclude -fPICgcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directorygcc: error trying to exec 'cc1plus': execvp: No such file or directoryMakefile:51: recipe for target 'sq64' failedmake[3]: *** [sq64] Error 1Makefile:44: recipe for target 'libsquirrel.a' failedmake[2]: *** [libsquirrel.a] Error 2Makefile:511: recipe for target 'modules' failedmake[1]: *** [modules] Error 1make[1]: Leaving directory '/usr/src/kamailio/src'Makefile:27: recipe for target 'all' failedmake: *** [all] Error 2
Br, Aqs.
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi -bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com