[OpenSIPS-Users] Error in new installation

Hristo Donev nocbgtelcom at gmail.com
Thu Jul 14 13:27:19 CEST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160714/6f3b6135/attachment.htm>


More information about the Users mailing list