我无法在 RHEL8.1 上安装 calcurse。错误是 tarball 中的 ./configure 文件无法识别ncurses
为已安装:
# git clone https://github.com/lfos/calcurse
# cd calcurse
# ./configure
[...]
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... no
configure: error: Either ncurses or ncursesw library is required to build calcurse!
然而,该软件包ncurses
已安装:
# yum -y install ncurses
[...]
Package ncurses-6.1-7.20180224.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
答案1
ncurses
是运行时包;要使用 ncurses 构建软件,您需要安装开发包ncurses-devel
.