[OpenSIPS-Users] Error in new installation

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


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; \
# opensipsctl config
touch             /usr/local//etc/opensips//opensipsctlrc.sample
install -m 644 scripts/opensipsctlrc \
if [ ! -f /usr/local//etc/opensips//opensipsctlrc ]; then \
                mv -f /usr/local//etc/opensips//opensipsctlrc.sample \
                        /usr/local//etc/opensips//opensipsctlrc; \
# osipsconsole config
touch             /usr/local//etc/opensips//osipsconsolerc.sample
install -m 644 scripts/osipsconsolerc \
if [ ! -f /usr/local//etc/opensips//osipsconsolerc ]; then \
                mv -f /usr/local//etc/opensips//osipsconsolerc.sample \
                        /usr/local//etc/opensips//osipsconsolerc; \
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/ \
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_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
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,
-------------- 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