<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>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:</p>
<p> *
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/#prerequisites">http://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/#prerequisites</a></p>
<p>g++ is needed by some modules that link to C++ libraries, such as
app_sqlang, phonenum or ndb_cassandra.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 27.02.18 15:21, Aqs Younas wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGVOjVUD6ByUZuZpC2_soPXtUKFkEnuT6b5Mavbb2=MAGPD+NA@mail.gmail.com">
<div dir="ltr">Sorry guys, I have been strictly following below
guide for the installation.
<div><br>
</div>
<div><a
href="https://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/"
moz-do-not-send="true">https://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/</a><br>
</div>
<div><br>
</div>
<div>Feeling dumb I should have searched it before. After
installing g++ issue is resolved. </div>
<div><br>
</div>
<div>Thanks, everyone. </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 27 February 2018 at 19:17, Rinor
Hoxha <span dir="ltr"><<a
href="mailto:rinorhoxha@gmail.com" target="_blank"
moz-do-not-send="true">rinorhoxha@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div text="#000000" bgcolor="#FFFFFF"> Hi Aqs,<br>
<br>
Add app_sqlang to skip_modules if you do not need it.<br>
<br>
example: (tune it to your needs)<br>
<br>
make PREFIX="/usr/local/kamailio"
include_modules="db_mysql dialplan app_lua"
skip_modules="app_jsdt app_perl app_python <b>app_sqlang</b>"
cfg<br>
<br>
Br, Rinor
<div>
<div class="h5"><br>
<br>
<div
class="m_1885057332526868593m_-8695267474368250658moz-cite-prefix">On
02/27/2018 03:04 PM, Aqs Younas wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Greetings list,
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>Any suggestion is much appreciated.
Thanks. </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>make --no-print-directory -C
./squirrel/squirrel SQMARCH64="-m64"
CC_EXTRA_FLAGS="-fPIC" \</div>
<div> OUT="../../libsquirrel.a" sq64</div>
<div>gcc -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 -fPIC</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>gcc: error trying to exec 'cc1plus':
execvp: No such file or directory</div>
<div>Makefile:51: recipe for target 'sq64'
failed</div>
<div>make[3]: *** [sq64] Error 1</div>
<div>Makefile:44: recipe for target
'libsquirrel.a' failed</div>
<div>make[2]: *** [libsquirrel.a] Error 2</div>
<div>Makefile:511: recipe for target 'modules'
failed</div>
<div>make[1]: *** [modules] Error 1</div>
<div>make[1]: Leaving directory
'/usr/src/kamailio/src'</div>
<div>Makefile:27: recipe for target 'all'
failed</div>
<div>make: *** [all] Error 2</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Br, Aqs. </div>
</div>
<br>
<fieldset
class="m_1885057332526868593m_-8695267474368250658mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<span class="">
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_1885057332526868593m_-8695267474368250658moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_1885057332526868593m_-8695267474368250658moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a>
</pre>
</span></blockquote>
<br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>