I am installing samtools 1-3-1, the newest version released last week and trying to compile it on Centos (redhat) 6.7
I did ./configure ... and make configure: creating ./config.status config.status: creating config.mk config.status: creating config.h [root@blade5-2-1 samtools-1.3.1]# make and got this error and the installation quit. 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’ bam_tview_curses.c: In function ‘curses_init_colors’: bam_tview_curses.c:107:22: error: ‘COLOR_WHITE’ undeclared (first use in this function) bam_tview_curses.c:107:22: note: each undeclared identifier is reported only once for each function it appears in bam_tview_curses.c:107:35: error: ‘COLOR_BLUE’ undeclared (first use in this function) bam_tview_curses.c:108:22: error: ‘COLOR_BLACK’ undeclared (first use in this function) bam_tview_curses.c:108:35: error: ‘COLOR_GREEN’ undeclared (first use in this function) bam_tview_curses.c:109:35: error: ‘COLOR_YELLOW’ undeclared (first use in this function) bam_tview_curses.c:112:35: error: ‘COLOR_CYAN’ undeclared (first use in this function) bam_tview_curses.c:113:35: error: ‘COLOR_MAGENTA’ undeclared (first use in this function) bam_tview_curses.c:114:35: error: ‘COLOR_RED’ undeclared (first use in this function) bam_tview_curses.c: In function ‘tv_win_goto’: bam_tview_curses.c:154:18: error: ‘KEY_BACKSPACE’ undeclared (first use in this function) bam_tview_curses.c:156:25: error: ‘KEY_ENTER’ undeclared (first use in this function) bam_tview_curses.c: In function ‘tv_win_help’: bam_tview_curses.c:203:5: error: unknown type name ‘WINDOW’ bam_tview_curses.c: In function ‘curses_underline’: bam_tview_curses.c:239:12: error: ‘A_UNDERLINE’ undeclared (first use in this function) bam_tview_curses.c: In function ‘curses_loop’: bam_tview_curses.c:263:18: error: ‘KEY_LEFT’ undeclared (first use in this function) bam_tview_curses.c:265:18: error: ‘KEY_RIGHT’ undeclared (first use in this function) bam_tview_curses.c:267:18: error: ‘KEY_SLEFT’ undeclared (first use in this function) bam_tview_curses.c:269:18: error: ‘KEY_SRIGHT’ undeclared (first use in this function) bam_tview_curses.c:278:18: error: ‘KEY_UP’ undeclared (first use in this function) bam_tview_curses.c:280:18: error: ‘KEY_DOWN’ undeclared (first use in this function) bam_tview_curses.c:282:18: error: ‘KEY_BACKSPACE’ undeclared (first use in this function) bam_tview_curses.c:284:18: error: ‘KEY_RESIZE’ undeclared (first use in this function) bam_tview_curses.c:284:39: error: ‘stdscr’ undeclared (first use in this function) bam_tview_curses.c: In function ‘curses_tv_init’: bam_tview_curses.c:325:12: error: ‘stdscr’ undeclared (first use in this function) bam_tview_curses.c:325:20: error: ‘TRUE’ undeclared (first use in this function) bam_tview_curses.c:331:15: warning: assignment makes pointer from integer without a cast [enabled by default] bam_tview_curses.c:332:15: warning: assignment makes pointer from integer without a cast [enabled by default] make: *** [bam_tview_curses.o] Error 1 [root@blade5-2-1 samtools-1.3.1]# make install^C [root@blade5-2-1 samtools-1.3.1]# yum install ncurses ncurses-devel Loaded plugins: dellsysid, fastestmirror, security Setting up Install Process Determining fastest mirrors epel/metalink | 13 kB 00:00 * base: mirror.fdcservers.net * epel: mirror.compevo.com * extras: centos.mirror.lstn.net * rpmforge: mirror.team-cymru.org * updates: mirror.eboundhost.com base | 3.7 kB 00:00 dell-omsa-indep | 1.9 kB 00:00 dell-omsa-specific | 1.9 kB 00:00 epel | 4.3 kB 00:00 epel/primary_db | 5.9 MB 00:01 extras | 3.4 kB 00:00 rpmforge | 1.9 kB 00:00 testing-1.1-devtools-6 | 951 B 00:00 testing-devtools-2-centos-6 | 951 B 00:00 updates | 3.4 kB 00:00 updates/primary_db | 4.7 MB 00:00 Package ncurses-5.7-4.20090207.el6.x86_64 already installed and latest version Package ncurses-devel-5.7-4.20090207.el6.x86_64 already installed and latest version Nothing to do ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Samtools-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/samtools-help
