nh13/DWGSIM

lzma.h error

Opened this issue · 2 comments

When I download and try installing dwgsim I get the following error. Here are my commands:

$ git clone https://github.com/nh13/DWGSIM.git
Download SAMTools from http://sourceforge.net/projects/samtools/files/samtools/ and place into the same directory as DWGSIM
$ cd DWGSIM
$ tar -xjf samtools-0.1.18.tar.bz2
$ mv samtools-0.1.18 samtools
$ make

ERROR:
cram/cram_io.c:60:10: fatal error: 'lzma.h' file not found
#include <lzma.h>
^
1 error generated.
make[2]: *** [cram/cram_io.o] Error 1
make[1]: *** [htslib-1.4/libhts.a] Error 2
make: *** [all-recur] Error 1

What should I do? It is not working to type "dwgsim".

nh13 commented

The short readme on the splash page says to do the following:

git clone --recursive https://github.com/nh13/DWGSIM.git

Hello again, I apologize for that. Indeed it does! Thank you!