[root@OpenSIPS opensips-1.11.1-tls]# make menuconfig
cd menuconfig; make ; cd ..
make[1]: Entering directory `/usr/local/opensips-1.11.1-tls/menuconfig'
gcc -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" -DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1 -c -o cfg.o cfg.c
在包含自 main.h:33 的文件中,
从 cfg.c:30:
curses.h:31:19: 错误:curses.h:没有那个文件或目录
In file included from cfg.c:30:
main.h:35: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.h:40: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[1]: *** [cfg.o] 错误 1
make[1]: Leaving directory `/usr/local/opensips-1.11.1-tls/menuconfig'
./menuconfig/configure --local
make: ./menuconfig/configure:命令未找到
make: *** [menuconfig] 错误 127
解决方法:
[root@OpenSIPS ~]# yum -y install ncurses ncurses-devel
重新执行命令
[root@OpenSIPS opensips-1.11.1-tls]# make menuconfig
问题解决