It seems you don't have curses library installed in your system. Try
installing them using yum - as typed below, and then recompile samtools.

yum install ncurses ncurses-devel

Praveen


On Wed, Aug 27, 2014 at 10:50 PM, Radhouane Aniba <arad...@gmail.com> wrote:

> Hello
>
> I wanted to try samtools 1.0 but got this probem while trying to compile,
> I downloaded sources from sourceforge
>
> gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -D_CURSES_LIB=1 -I. -Ihtslib-1.0 -c -o bam_tview_curses.o bam_tview_curses.c
> bam_tview_curses.c:30:20: error: curses.h: No such file or directory
> bam_tview_curses.c:32:2: warning: #warning "_CURSES_LIB=1 but
> NCURSES_VERSION not defined; tview is NOT compiled"
> bam_tview_curses.c:322:2: warning: #warning "No curses library is
> available; tview with curses is disabled."
> make: *** [bam_tview_curses.o] Error 1
>
> Anyone got this error as well ?
>
> Seems like curses.h is missing
>
> Thanks
>
> Rad
>
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Samtools-help mailing list
> Samtools-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/samtools-help
>
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to