Closed Yuan2yuan2yuan closed 1 year ago
Could you copy paste what is printed on the terminal when you call the make command? I want to to see which compiler it is using so I could give you the next step for trouble shooting.
Sure.
make -C /data/workdir/sigmap/sigmap-master/extern/slow5lib/
make[1]: Entering directory '/data/workdir/sigmap/sigmap-master/extern/slow5lib'
make[1]: Nothing to be done for 'slow5lib'.
make[1]: Leaving directory '/data/workdir/sigmap/sigmap-master/extern/slow5lib'
mkdir -p objs
/data/software/conda/bin/x86_64-conda_cos6-linux-gnu-c++ -std=c++11 -Wall -O3 -fopenmp -march=native -I/data/workdir/sigmap/sigmap-master/extern/hdf5/build/include -I/data/workdir/sigmap/sigmap-master/extern/slow5lib//include -c src/sequence_batch.cc -o objs/sequence_batch.o
In file included from src/sequence_batch.cc:1:0:
src/sequence_batch.h:5:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^~~~~~~~
compilation terminated.
make: *** [Makefile:49: objs/sequence_batch.o] Error 1
It seems like you are inside a conda environment. The gcc inside conda likely to be configured not to honour system wide include locations. There are two options that you can try
Thank you for quickly replying. I will try it again.
I've downloaded this file but still got a fatal error while installing slow5lib.
fatal error: zlib.h: No such file or directory