1

現在、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

助けていただければ幸いです。

ありがとう

4

1 に答える 1

1

ldconfigシステム ライブラリをインストールしたら、root として実行する必要があります。このツールは、システムのライブラリのキャッシュを更新して、リンク時や構成スクリプトなどで見つけられるようにするために使用されます。

補遺:Solarisのバージョンは確かにcrleです

于 2012-08-28T13:30:17.233 に答える