<div dir="ltr">For CentOs 7 no package libncurses5-dev available.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-14 15:17 GMT+03:00 Surabhi Garg <span dir="ltr"><<a href="mailto:surabhi.garg@vvdntech.in" target="_blank">surabhi.garg@vvdntech.in</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Hristo,<br><br></div>Have you installed required dependencies before doing <b>"make"</b>? Seems like you've not. <br><span class=""><br><div style="margin-left:40px"><span style="background-color:rgb(255,255,0)">curses.h:29:19: fatal error: curses.h: No such file or directory</span><br><br></div></span>The error shows that libncurses development libraries are missing. <br><br></div>You should install all the required dependencies before compiling OpenSIPS. <br><br></div>For instance on Debian: <br><br></div><div style="margin-left:40px"><span style="background-color:rgb(255,255,0)"><b>apt-get install libncurses5-dev</b></span><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><br clear="all"><b><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"><p style="margin:0in;margin-bottom:.0001pt"><b>With Best
Regards,</b></p><p style="margin:0in 0in 0.0001pt"><b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(89,89,89);background-image:initial;background-repeat:initial">Surabhi Garg<br></span></b></p><p style="margin:0in 0in 0.0001pt"><b><span style="font-size:11pt;font-family:Calibri,sans-serif;background-image:initial;background-repeat:initial"></span></b></p><p style="margin:0in;margin-bottom:.0001pt"><b>VVDN
Technologies Pvt Ltd</b><b style="font-family:arial,sans-serif;font-size:13px;color:rgb(34,34,34)"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"></span></b></p><p style="margin:0in 0in 0.0001pt;display:inline!important"><b><span style="font-size:11pt;font-family:Calibri,sans-serif;background-image:initial;background-repeat:initial">Cell :<span> </span><a href="tel:%2B91%209910100290" value="+919910100290" target="_blank">+91 </a>8130321886|<span> </span>Skype :<span> </span>surabhi.garg9</span></b></p></span></b><p style="font-family:arial;font-size:small">
</p><br></div></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Thu, Jul 14, 2016 at 4:57 PM, Hristo Donev <span dir="ltr"><<a href="mailto:nocbgtelcom@gmail.com" target="_blank">nocbgtelcom@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br><div>I try to make new installation of OpenSips 2.2.<br><br></div><div>Here is my steps:<br>git clone <a href="https://github.com/OpenSIPS/opensips.git" target="_blank">https://github.com/OpenSIPS/opensips.git</a> -b 2.2 opensips_2_2<br>cd opensips_2_2<br>make all<br>make install</div><div><br></div><div><br></div><div><div>if [ -z "" -a \</div><div> ! -f /usr/local//etc/opensips/opensips.cfg ]; then \</div><div> mv -f /usr/local//etc/opensips/opensips.cfg.sample \</div><div> /usr/local//etc/opensips/opensips.cfg; \</div><div> fi</div><div># opensipsctl config</div><div>touch /usr/local//etc/opensips//opensipsctlrc.sample</div><div>install -m 644 scripts/opensipsctlrc \</div><div> /usr/local//etc/opensips//opensipsctlrc.sample</div><div>if [ ! -f /usr/local//etc/opensips//opensipsctlrc ]; then \</div><div> mv -f /usr/local//etc/opensips//opensipsctlrc.sample \</div><div> /usr/local//etc/opensips//opensipsctlrc; \</div><div> fi</div><div># osipsconsole config</div><div>touch /usr/local//etc/opensips//osipsconsolerc.sample</div><div>install -m 644 scripts/osipsconsolerc \</div><div> /usr/local//etc/opensips//osipsconsolerc.sample</div><div>if [ ! -f /usr/local//etc/opensips//osipsconsolerc ]; then \</div><div> mv -f /usr/local//etc/opensips//osipsconsolerc.sample \</div><div> /usr/local//etc/opensips//osipsconsolerc; \</div><div> fi</div><div>make -C menuconfig proper</div><div>make[1]: Entering directory `/root/opensips_2_2/menuconfig'</div><div>rm -f configure</div><div>rm -f cfg.o curses.o items.o commands.o menus.o parser.o main.o</div><div>make[1]: Leaving directory `/root/opensips_2_2/menuconfig'</div><div>make -C menuconfig \</div><div> MENUCONFIG_CFG_PATH=/usr/local//share/opensips//menuconfig_templates/ \</div><div> MENUCONFIG_GEN_PATH=/usr/local//etc/opensips/ MENUCONFIG_HAVE_SOURCES=0</div><div>make[1]: Entering directory `/root/opensips_2_2/menuconfig'</div><div>gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0 -c -o cfg.o cfg.c</div><div>In file included from main.h:31:0,</div><div> from cfg.c:28:</div><div>curses.h:29:19: fatal error: curses.h: No such file or directory</div><div> #include<curses.h></div><div> ^</div><div>compilation terminated.</div><div>make[1]: *** [cfg.o] Error 1</div><div>make[1]: Leaving directory `/root/opensips_2_2/menuconfig'</div><div>make: *** [opensipsmc] Error 2</div></div><div><br></div><div><br></div><div>Where is problem?</div><div><br></div><div>Best regards,</div><div>Hristo</div><div><br></div></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>