<div dir="ltr"><div>Hi,<br><br></div>I am trying to compile kamailio 5.1 from git following <br><a href="https://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/">https://kamailio.org/docs/tutorials/5.1.x/kamailio-install-guide-git/</a><br> <br><div><div>on Debian GNU/Linux 8.10 (jessie)</div><div><br></div><div>I also installed packages after getting dependency errors <br></div><div><span style="font-family:monospace,monospace">apt-get install libhiredis-dev libphonenumber6-dev libicu-dev</span><br></div><div><br></div><div><span style="font-family:monospace,monospace">apt-get install unicode unicode-data</span><br></div><div><br></div><div>Kamailio compile stopped at error <br></div><div>.....<br></div><span style="font-family:monospace,monospace">LD (gcc) [M uid_avp_db.so]              uid_avp_db.so</span><br><span style="font-family:monospace,monospace"></span><div><span style="font-family:monospace,monospace">CC (gcc) [M pdb.so]             pdb.o<br>LD (gcc) [M pdb.so]             pdb.so<br>CC (gcc) [M phonenum.so]                phonenum_mod.o<br>CC (gcc) [M phonenum.so]                phonenum_pv.o<br>Compiling cphonenumber.cpp<br>g++ -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -Wno-write-strings -Wno-deprecated -Wno-unused-f<br>unction -Wno-sign-compare -Wno-strict-aliasing -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall  -DNA<br>ME='"kamailio"' -DVERSION='"5.1.0"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=5001000 -DCFG_DIR='"/usr/loc<br>al/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS<br>_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLO<br>C_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_<br>NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SE<br>LECT  -I/opt/local/include -DKAMAILIO_MOD_INTERFACE -DMOD_NAME='"phonenum"' -c cphonenumber.cpp -o cphonenumber.o<br>In file included from /usr/include/phonenumbers/geocoding/phonenumber_offline_geocoder.h:26:0,<br>                 from cphonenumber.cpp:24:<br>/usr/include/phonenumbers/base/memory/scoped_ptr.h:25:45: fatal error: phonenumbers/base/template_util.h: No such file or directory<br> #include "phonenumbers/base/template_util.h"<br>                                             ^<br>compilation terminated.<br>Makefile:22: recipe for target 'cphonenumber.o' failed<br>make[2]: *** [cphonenumber.o] Error 1<br>Makefile:511: recipe for target 'modules' failed<br>make[1]: *** [modules] Error 1<br>make[1]: Leaving directory '/usr/local/src/kamailio/src'<br>Makefile:27: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">I googled but couldnt found any resolution or required dependency. Its look like libphonenumber is broken.</span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Kindly suggest way out. <br></span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Also i don't require </span><span style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,helvetica,sans-serif">libphonenumber for this server. How to get rid off.<br></span></span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span><br clear="all"><div><div class="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit <br></span></span></font></div></div>
</div></div></div>