如何安装ncurses-devel以使samtools正常工作?

问题描述 投票:0回答:1

我在没有超级用户访问权限的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.1

samtools仍然给我错误

fatal error: curses.h

有什么建议吗?我是否在错误的位置安装了ncurses?还是我特别需要libncurses5-dev?

linux ncurses samtools
1个回答
0
投票

阅读ncurses-6.1/INSTALL文件,直到您了解它为止。

© www.soinside.com 2019 - 2024. All rights reserved.