Thanks Peter, that was a big help. Got through the curses problem, then applied the same tactic when it complained that it was missing bzlib.h (apt-get install libghc-bzlib-dev), and with no additional errors I was rewarded with a 2.7 MB executable called samtools.
-----Original Message----- From: Peter Cock [mailto:p.j.a.c...@googlemail.com] Sent: Thursday, April 6, 2017 2:27 PM To: James LaGasse <jlaga...@soundpharma.com> Cc: samtools-help@lists.sourceforge.net Subject: Re: [Samtools-help] compile help Hi James, Debian splits libraries into two packages, libXXX and libXXX-dev (RedHat does the same but would typically append -devel not -dev). The development package include the headers (*.h files) etc which are only needed if compiling code to use the library. In this case from memory I would try: sudo apt-get install libncurses-dev Peter On Thu, Apr 6, 2017 at 7:49 PM, James LaGasse <jlaga...@soundpharma.com> wrote: > Hello, > > > > Linux newbie here attempting to compile Samtools on 32 bit Debian system. > > > > When I use make, I got many lines indicating compilation was > proceeding smoothly, then it halted with: > > > > gcc -g -Wall -O2 -I. -Ihtslib-1.4 -c -o 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. > > Makefile:133: recipe for target 'bam_tview_curses.o' failed > > make: *** [bam_tview_curses.o] Error 1 > > > > How do I install curses? From what I can tell (from the Synaptic > Package > Manager) curses in all its flavors is installed. How can I check further? > Where is curses.h supposed to be? > > > > Thanks for any clues you can throw my way, > > > > -Jim LaGasse > > > ---------------------------------------------------------------------- > -------- Check out the vibrant tech community on one of the world's > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Samtools-help mailing list > Samtools-help@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/samtools-help > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Samtools-help mailing list Samtools-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/samtools-help