Closed jelber2 closed 6 years ago
Can you confirm that lzma.h
is in -I${HOME}/bin/xz-5.2.4/include
? I am not sure what is wrong otherwise -- I am able to pass compiler flags with CPPFLAGS
in SeqLib:
In SeqLib dir:
make CPPFLAGS="-Itmp/bin/xz-5.2.4/include"
Produces (abbr):
make[2]: Entering directory `/broad/hptmp/jwala/SeqLib/htslib'
gcc -g -Wall -O2 -I. -Itmp/bin/xz-5.2.4/include -fpic -c -o cram/cram_io.pico cram/cram_io.c
I can confirm it is in the folder - it compiles if I do:
make CC=`which icc` CPPFLAGS="-I${HOME}/bin/xz-5.2.4/include" LDFLAGS="-L${HOME}/bin/xz-5.2.4/lib"
Hi, I am trying to install SeqLib and do not have a system install of lzma.h. I was able to work around that with LDFLAGS and CPPFLAGS with htslib 1.9 and xz-5.2.4
Install xz-5.2.4
Install samtools 1.9, bcftools 1.9, htslib 1.9
Try to install SeqLib
Make
What am I doing wrong here? Operating system is Red Hat Enterprise Linux Server release 6.8 (Santiago). Really, I am trying to install SeqLib as part of STITCH, but I couldn't install it through the recommended way. So, I am trying to compile SeqLib by itself with no success.