[OpenSIPS-Users] Error in new installation

Hristo Donev nocbgtelcom at gmail.com
Thu Jul 14 15:04:08 CEST 2016


Yes, all is OK now.
Thanks!

2016-07-14 15:57 GMT+03:00 Hristo Donev <nocbgtelcom at gmail.com>:

> For CentOs 7 no package libncurses5-dev available.
>
>
> 2016-07-14 15:17 GMT+03:00 Surabhi Garg <surabhi.garg at vvdntech.in>:
>
>> Hi Hristo,
>>
>> Have you installed required dependencies before doing *"make"*? Seems
>> like you've not.
>>
>> curses.h:29:19: fatal error: curses.h: No such file or directory
>>
>> The error shows that libncurses development libraries are missing.
>>
>> You should install all the required dependencies before compiling
>> OpenSIPS.
>>
>> For instance on Debian:
>>
>> *apt-get install libncurses5-dev*
>>
>>
>>
>>
>>
>> *With Best Regards,Surabhi GargVVDN Technologies Pvt LtdCell : +91
>> <%2B91%209910100290>8130321886| Skype : surabhi.garg9*
>>
>>
>>
>> On Thu, Jul 14, 2016 at 4:57 PM, Hristo Donev <nocbgtelcom at gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> I try to make new installation of  OpenSips 2.2.
>>>
>>> Here is my steps:
>>> git clone https://github.com/OpenSIPS/opensips.git -b 2.2 opensips_2_2
>>> cd opensips_2_2
>>> make all
>>> make install
>>>
>>>
>>> if [ -z "" -a \
>>>                         ! -f /usr/local//etc/opensips/opensips.cfg ];
>>> then \
>>>                 mv -f /usr/local//etc/opensips/opensips.cfg.sample \
>>>                         /usr/local//etc/opensips/opensips.cfg; \
>>>         fi
>>> # opensipsctl config
>>> touch             /usr/local//etc/opensips//opensipsctlrc.sample
>>> install -m 644 scripts/opensipsctlrc \
>>>                 /usr/local//etc/opensips//opensipsctlrc.sample
>>> if [ ! -f /usr/local//etc/opensips//opensipsctlrc ]; then \
>>>                 mv -f /usr/local//etc/opensips//opensipsctlrc.sample \
>>>                         /usr/local//etc/opensips//opensipsctlrc; \
>>>         fi
>>> # osipsconsole config
>>> touch             /usr/local//etc/opensips//osipsconsolerc.sample
>>> install -m 644 scripts/osipsconsolerc \
>>>                 /usr/local//etc/opensips//osipsconsolerc.sample
>>> if [ ! -f /usr/local//etc/opensips//osipsconsolerc ]; then \
>>>                 mv -f /usr/local//etc/opensips//osipsconsolerc.sample \
>>>                         /usr/local//etc/opensips//osipsconsolerc; \
>>>         fi
>>> make -C menuconfig proper
>>> make[1]: Entering directory `/root/opensips_2_2/menuconfig'
>>> rm -f configure
>>> rm -f cfg.o curses.o items.o commands.o menus.o parser.o main.o
>>> make[1]: Leaving directory `/root/opensips_2_2/menuconfig'
>>> make -C menuconfig \
>>>
>>> MENUCONFIG_CFG_PATH=/usr/local//share/opensips//menuconfig_templates/ \
>>>         MENUCONFIG_GEN_PATH=/usr/local//etc/opensips/
>>> MENUCONFIG_HAVE_SOURCES=0
>>> make[1]: Entering directory `/root/opensips_2_2/menuconfig'
>>> 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
>>> In file included from main.h:31:0,
>>>                  from cfg.c:28:
>>> curses.h:29:19: fatal error: curses.h: No such file or directory
>>>  #include<curses.h>
>>>                    ^
>>> compilation terminated.
>>> make[1]: *** [cfg.o] Error 1
>>> make[1]: Leaving directory `/root/opensips_2_2/menuconfig'
>>> make: *** [opensipsmc] Error 2
>>>
>>>
>>> Where is problem?
>>>
>>> Best regards,
>>> Hristo
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160714/0612f4de/attachment-0001.htm>


More information about the Users mailing list