[OpenSIPS-Users] Error in new installation

Annus Fictus annusfictus at gmail.com
Thu Jul 14 14:21:23 CEST 2016


maybe ncurses-devel

on CentOS

yum install ncurses-devel

Regards

El 14/07/2016 a las 13:27, Hristo Donev escribió:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160714/bf203cc0/attachment-0001.htm>


More information about the Users mailing list