From: Jonathan C. <jon...@gm...> - 2011-01-30 01:43:13
|
The "INSTALL" file, which should be in the top-level directory after unpacking, mentions a couple of prerequisites. From the error messages it looks like it can't find zlib on your system. Jonathan On Thu, Jan 27, 2011 at 3:58 PM, COCO 2001 <coc...@ho...> wrote: > Please, help me install samtools on Linux. > Is there are step by step guide including prerequisites? > I've downloaded samtools-0.1.12a.tar.bz and unpack it. Tried running 'Make' > and get the following: > make[1]: Entering directory `/xxxx/xxxx/Desktop/samtools-0.1.12a' > make[2]: Entering directory `/xxxx/xxxx/Desktop/samtools-0.1.12a' > gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1 > -I. bgzf.c -o bgzf.o > In file included from bgzf.c:36: > bgzf.h:30:18: error: zlib.h: No such file or directory > bgzf.c: In function âdeflate_blockâ: > bgzf.c:257: error: âZ_DEFAULT_COMPRESSIONâ undeclared (first use in this > function) > bgzf.c:257: error: (Each undeclared identifier is reported only once > bgzf.c:257: error: for each function it appears in.) > bgzf.c:258: error: âz_streamâ undeclared (first use in this function) > bgzf.c:258: error: expected â;â before âzsâ > bgzf.c:259: error: âzsâ undeclared (first use in this function) > bgzf.c:266: warning: implicit declaration of function âdeflateInit2â > bgzf.c:266: error: âZ_DEFLATEDâ undeclared (first use in this function) > bgzf.c:267: error: âZ_DEFAULT_STRATEGYâ undeclared (first use in this > function) > bgzf.c:268: error: âZ_OKâ undeclared (first use in this function) > bgzf.c:272: warning: implicit declaration of function âdeflateâ > bgzf.c:272: error: âZ_FINISHâ undeclared (first use in this function) > bgzf.c:273: error: âZ_STREAM_ENDâ undeclared (first use in this function) > bgzf.c:274: warning: implicit declaration of function âdeflateEndâ > bgzf.c:306: warning: implicit declaration of function âcrc32â > bgzf.c: In function âinflate_blockâ: > bgzf.c:332: error: âz_streamâ undeclared (first use in this function) > bgzf.c:332: error: expected â;â before âzsâ > bgzf.c:333: error: âzsâ undeclared (first use in this function) > bgzf.c:340: warning: implicit declaration of function âinflateInit2â > bgzf.c:341: error: âZ_OKâ undeclared (first use in this function) > bgzf.c:345: warning: implicit declaration of function âinflateâ > bgzf.c:345: error: âZ_FINISHâ undeclared (first use in this function) > bgzf.c:346: error: âZ_STREAM_ENDâ undeclared (first use in this function) > bgzf.c:347: warning: implicit declaration of function âinflateEndâ > bgzf.c: In function âcheck_headerâ: > bgzf.c:365: error: âZ_DEFLATEDâ undeclared (first use in this function) > make[2]: *** [bgzf.o] Error 1 > make[2]: Leaving directory `/xxxx/xxxx/Desktop/samtools-0.1.12a' > make[1]: *** [lib-recur] Error 1 > make[1]: Leaving directory `/xxxx/xxxx/Desktop/samtools-0.1.12a' > make: *** [all-recur] Error 1 > > Thanks! > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Samtools-help mailing list > Sam...@li... > https://lists.sourceforge.net/lists/listinfo/samtools-help > > |