我目前正在尝试在 Solaris 11 x86 上安装 CPM 密码管理工具。安装完所有必需的依赖项后,我陷入了 CPM 的配置中。我当前的 ncurses 版本是 5.9。
我试图运行这个命令:
root@solaris:~/Downloads/cpm-0.23beta# ./configure --with-ncurses --with-cdk-dir=/usr/local --with-cracklib-dict=/usr/local/share/cracklib/pw_dict
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
configure: checking libraries
checking for main in -lm... yes
checking for initscr in -lncurses... no
configure: error: can not find the ncurses library
我会很感激一些帮助。
谢谢