You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was installing Bio-DB-HTS package and run into an issue with the lzma.h header file. I apparently have the LZMA library installed but don't have the lzma.h header file. I installed the XZ library in order to get the lzma.h header file although then it got saved in...
/usr/local/Cellar/xz/5.2.4/include/lzma.h
I got around this by adding the following in bold to a line in the INSTALL.pl file
-e '/usr/include/lzma.h' || '/usr/local/Cellar/xz/5.2.4/include/lzma.h' or die <<END;
I made a post in stackoverflow regarding issues installing Bio:Perl where another user mentioned that on his Mac OSx High Sierra he had the lzma.h file located in /usr/local/include and not as required, /usr/include (see post below)
Since version 1.7, HTSlib contains a workaround for macOS having liblzma.dylib but no lzma.h.
(See samtools/htslib@78dbcce.)
So this is really a deficiency in Bio-DB-HTS's INSTALL.pl: if it ran HTSlib's configure script and removed this test (the configure script checks more carefully for the same things) then it would build on macOS without needing extra XZ libraries to be installed.
Hi,
I was installing Bio-DB-HTS package and run into an issue with the lzma.h header file. I apparently have the LZMA library installed but don't have the lzma.h header file. I installed the XZ library in order to get the lzma.h header file although then it got saved in...
/usr/local/Cellar/xz/5.2.4/include/lzma.h
I got around this by adding the following in bold to a line in the INSTALL.pl file
-e '/usr/include/lzma.h' || '/usr/local/Cellar/xz/5.2.4/include/lzma.h' or die <<END;
I made a post in stackoverflow regarding issues installing Bio:Perl where another user mentioned that on his Mac OSx High Sierra he had the lzma.h file located in /usr/local/include and not as required, /usr/include (see post below)
https://stackoverflow.com/questions/52468476/issues-installing-perl-module-bioperl?noredirect=1#comment91917414_52468476
I have seen quite a few post with similar issue but concerning different problems, all relating to the missing lzma.h header file.
Kind regards
Sabri
The text was updated successfully, but these errors were encountered: