Hello,
so I have downloaded samtools-1.3 to an ubuntu computer and I want to use it to manipulate the output from my bwa mem.
I enter the samtools-1.3 folder in the terminal and type "make" to set it up. It starts to run encounters an error as follows:
bam_tview_curses.o bam_tview_curses.c
bam_tview_curses.c:41:20: fatal error: curses.h: No such file or directory
#include <curses.h>
^
compilation terminated.
make: *** [bam_tview_curses.o] Error 1
My initial response (after searching the Internet) was that curses was not installed, and I tried to remedy that using sudo (apparently my user was not in the list of sudoers though.
So I tried to see if curses was already installed, after consulting the Internet I tried
ldconfig -p | grep ncurses
which gave the output:
libncursesw.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libncursesw.so.5
libncurses.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libncurses.so.5
I took this as curses was installed. But that leaves me at a loss what could have happened. But this should at least mean that curses are there right? I'm not very experianced using ubuntu or C programs (I took a smaller course in C long ago and whil I've used linux computers quite some I've mostly used the terminal for navigation)
Happy for Help!
so I have downloaded samtools-1.3 to an ubuntu computer and I want to use it to manipulate the output from my bwa mem.
I enter the samtools-1.3 folder in the terminal and type "make" to set it up. It starts to run encounters an error as follows:
bam_tview_curses.o bam_tview_curses.c
bam_tview_curses.c:41:20: fatal error: curses.h: No such file or directory
#include <curses.h>
^
compilation terminated.
make: *** [bam_tview_curses.o] Error 1
My initial response (after searching the Internet) was that curses was not installed, and I tried to remedy that using sudo (apparently my user was not in the list of sudoers though.
So I tried to see if curses was already installed, after consulting the Internet I tried
ldconfig -p | grep ncurses
which gave the output:
libncursesw.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libncursesw.so.5
libncurses.so.5 (libc6,x86-64) => /lib/x86_64-linux-gnu/libncurses.so.5
I took this as curses was installed. But that leaves me at a loss what could have happened. But this should at least mean that curses are there right? I'm not very experianced using ubuntu or C programs (I took a smaller course in C long ago and whil I've used linux computers quite some I've mostly used the terminal for navigation)
Happy for Help!
Comment