|
From: John M. <jm...@sa...> - 2016-05-03 19:56:41
|
On 3 May 2016, at 19:11, Dan Hyatt <dh...@ds...> wrote:
>
> I am installing samtools 1-3-1, the newest version released last week
> and trying to compile it on Centos (redhat) 6.7
[...]
>
> I checked and verified that I installed ncurses and devel-ncurses as
> seen at the bottom.
>
> google did not indicate any known errors of the first ban_tview_curses
> error..the other errrors indicated no ncurses devel-ncurses libraries
> but they are installed.
>
> Any suggestions?
>
> gcc -g -O2 -I. -Ihtslib-1.3.1 -c -o bam_tview.o bam_tview.c
> gcc -g -O2 -I. -Ihtslib-1.3.1 -c -o bam_tview_curses.o bam_tview_curses.c
> bam_tview_curses.c:46:5: error: unknown type name ‘WINDOW’
Well, that's impressive -- you Centos folks come up with the best curses-related problems :-)
Suggestion for a first step would be to show us the config.h that was produced when you ran configure, and to add -H to the bam_tview_curses.c compile command and show us the output:
gcc -H -g -O2 -I. -Ihtslib-1.3.1 -c -o bam_tview_curses.o bam_tview_curses.c
(Feel free to just email those to me if it seems too voluminous and boring for the list.)
John
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
|