On Thu, Nov 30, 2017 at 04:01:25PM +0100, k.scharf wrote:
> I have problems with the installion of samtools. It give me the
> error: configure: error: liblzma development fieles not fount.
> 
> What can I do?

It's only needed if you desire CRAM support, and only then for some
modern CRAM files.  If you're creating your own CRAMs and never
reading third party data then you can avoid it completely.

Did you use the configure script?  If so hopefully it told you this,
although it may have possibly been lost in the sea of other text it
produces:

: liblzma development files not found
: 
: The CRAM format may use LZMA2 compression, which is implemented in HTSlib
: by using compression routines from liblzma <http://tukaani.org/xz/>.
: 
: Building HTSlib requires liblzma development files to be installed on the
: build machine; you may need to ensure a package such as liblzma-dev (on Debian
: or Ubuntu Linux), xz-devel (on RPM-based Linux distributions or Cygwin), or
: xz (via Homebrew on macOS) is installed; or build XZ Utils from source.
: 
: Either configure with --disable-lzma (which will make some CRAM files
: produced elsewhere unreadable) or resolve this error to build HTSlib.

If you just typed "make" to use the Makefile then you won't get such a
warning.  (In my opinion we should make the use of configure mandatory
to avoid such confusion.)

James

-- 
James Bonfield (j...@sanger.ac.uk) | Hora aderat briligi. Nunc et Slythia Tova
                                  | Plurima gyrabant gymbolitare vabo;
  A Staden Package developer:     | Et Borogovorum mimzebant undique formae,
https://sf.net/projects/staden/   | Momiferique omnes exgrabure Rathi. 


-- 
 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. 

------------------------------------------------------------------------------
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

Reply via email to