On 17 Nov 2017, at 15:00, VIB | Stephane Plaisance
<stephane.plaisa...@vib.be<mailto:stephane.plaisa...@vib.be>> wrote:
I did install before but after upgrading to high Sierra I am lacking some dev
dependencies (Xcode is installed)
I tried installing xz using macport and got the error below (there is no port
with -dev)
[...]
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for lzma.h... no
checking for lzma_easy_buffer_encode in -llzma... yes
As the second "yes" here indicates, macOS does in fact natively include a
liblzma shared library and in principle you should be able to use it without
needing to install another XZ via Brew or MacPorts. However it does not provide
the header files needed to compile code (like HTSlib) that uses the XZ
functions. You might like to try applying this pull request:
https://github.com/samtools/htslib/pull/628
which adds the bare minimum to HTSlib to enable building against macOS's native
liblzma.
John
------------------------------------------------------------------------------
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