0

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
4

0 回答 0