OpenSUSE 13.2的无头安装。使用以下方法安装开发工具:
zypper install -t pattern devel_C_C++
使用SVN签出最新的1.8版OpenSIPS。我正在尝试安装它,但它无法进行menuconfig。
which: no xsltproc in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games)
which: no lynx in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games)
cd menuconfig; make ; cd ..
make[1]: Entering directory '/usr/src/opensips_1_8/menuconfig'
gcc -o configure -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" - DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1 cfg.o curses.o items.o commands.o menus.o parser.o main.o -lcurses
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses
collect2: error: ld returned 1 exit status
Makefile:11: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/usr/src/opensips_1_8/menuconfig'
./menuconfig/configure --local
make: ./menuconfig/configure: Command not found
Makefile:883: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 127
似乎编译它不是正确的GCC版本?我试过4.9,但情况更糟。
感谢任何帮助。
更新,安装了curses:
linux-9g76:/ usr / src / opensips_1_8 #zypper se curses 加载存储库数据...... 阅读已安装的软件包......
S | Name | Summary | Type
--+--------------------------+-----------------------------------------------------------+--------
i | libncurses5 | The New curses Libraries | package
i | libncurses5-32bit | The New curses Libraries | package
i | libncurses6 | The New curses Libraries | package
i | libncurses6-32bit | The New curses Libraries | package
| libyui-ncurses-devel | Libyui-ncurses header files | package
| libyui-ncurses-doc | Libyui-ncurses documentation | package
| libyui-ncurses-pkg-devel | Libyui-ncurses-pkg header files | package
| libyui-ncurses-pkg-doc | Libyui-ncurses-pkg documentation | package
i | libyui-ncurses-pkg6 | Libyui - yast2 package selector widget for the ncurses UI | package
i | libyui-ncurses6 | Libyui - Character Based User Interface | package
i | ncurses-devel | Include Files and Libraries mandatory for Development | package
i | ncurses-devel-32bit | Include Files and Libraries mandatory for Development | package
i | ncurses-utils | Tools using the new curses libraries | package
| perl-Curses | Terminal screen handling and optimization | package
| perl-CursesWidgets | CursesWidgets Perl module | package
| python-curses | Python Interface to the (N)Curses Library | package
| python3-curses | Python Interface to the (N)Curses Library | package