我在一个没有根访问和的HPC上,我不能使用sudo命令,但是我试图让samtools-1.10工作,不幸的是我得到了错误消息:
The 'samtools tview' command uses the curses text user interface library.
Building samtools with tview requires curses/ncurses/etc development files
to be installed on the build machine; you may need to ensure a package such
as libncurses5-dev (on Debian or Ubuntu Linux) or ncurses-devel (on RPM-based
Linux distributions) is installed.所以我下载了ncurses-6.1.tar.gz,我解压缩了它,然后使用
./configure -prefix /home/vbuswell/programmes/ncurses-6.1samtools仍然给出了错误
fatal error: curses.h有什么建议吗?我在错误的地方安装了诅咒吗?还是我特别需要libncurses5-dev?
发布于 2020-02-03 13:32:37
为了方便您的解决方案,您可能需要sudo。
你只是错过了诅咒图书馆。通过打开一个终端并键入下面的命令来修复:
$ sudo apt-get install libncurses5-dev libncursesw5-dev
如果您正在使用RHEL / Fedora / CentOS Linux,请通过在终端中键入以下内容来修复它:# yum install ncurses-devel ncurses
https://stackoverflow.com/questions/60039364
复制相似问题