I found several threads which mentioned same problem as mine. But none of their solutions help.
I downloaded the most recent version of samtools, 0.1.14 and tried to install it on my redhat enterprise server 6. The error message I've got was:
It was suggested that my system may not install ncurse-lib (http://seqanswers.com/forums/showthr...es.h#post13715). But I have that on my system:
The other one suggested to modify "LIBCURSES= -lcurses" in Makefile into "LIBCURSES= -lncurses". (http://seqanswers.com/forums/showthread.php?t=6669). I did, but the problem still there.
The last thread I can find suggested to "add -I/usr/include/ncurses to CFLAGS in the samtools Makefile" (http://seqanswers.com/forums/showthread.php?t=7391), but it was for installing samtools on cygwin.
Would you please help to see if anything else I can do for it? Thank you !
I downloaded the most recent version of samtools, 0.1.14 and tried to install it on my redhat enterprise server 6. The error message I've got was:
Code:
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_tview.c -o bam_tview.o bam_tview.c:5:20: error: curses.h: No such file or directory bam_tview.c:7:2: warning: #warning "_CURSES_LIB=1 but NCURSES_VERSION not defined; tview is NOT compiled" bam_tview.c:418:2: warning: #warning "No curses library is available; tview is disabled." make[1]: *** [bam_tview.o] Error 1 make[1]: Leaving directory `/home/polymerase/myapp/samtools' make: *** [all-recur] Error 1
Code:
# rpm -qa |grep curses ncurses-5.7-3.20090208.el6.x86_64 ncurses-base-5.7-3.20090208.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64
The last thread I can find suggested to "add -I/usr/include/ncurses to CFLAGS in the samtools Makefile" (http://seqanswers.com/forums/showthread.php?t=7391), but it was for installing samtools on cygwin.
Would you please help to see if anything else I can do for it? Thank you !
Comment