Dear authors, I try to build chips from the latest source code version (master) and get the following errors.
mkdir build
cd build
cmake ..
Output of cmake:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/user/miniconda3/envs/span_noise2a/bin/x86_64-conda-linux-gnu-cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/user/miniconda3/envs/span_noise2a/bin/x86_64-conda-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/stripe/shpynov/chips/build
The I launch make, and get the following error:
Scanning dependencies of target zlib
[ 2%] Creating directories for 'zlib'
[ 5%] Performing download step (git clone) for 'zlib'
-- zlib download command succeeded. See also /mnt/stripe/shpynov/chips/build/thirdparty/zlib/src/zlib-stamp/zlib-download-*.log
[ 8%] No update step for 'zlib'
[ 11%] No patch step for 'zlib'
[ 13%] Performing configure step for 'zlib'
Building static library libz.a version 1.2.8 with /home/user/miniconda3/envs/span_noise2a/bin/x86_64-conda-linux-gnu-cc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
[ 16%] Performing build step for 'zlib'
[ 19%] Performing install step for 'zlib'
-- zlib install command succeeded. See also /mnt/stripe/shpynov/chips/build/thirdparty/zlib/src/zlib-stamp/zlib-install-*.log
[ 22%] Completed 'zlib'
[ 22%] Built target zlib
Scanning dependencies of target htslib
[ 25%] Creating directories for 'htslib'
[ 27%] Performing download step (git clone) for 'htslib'
-- htslib download command succeeded. See also /mnt/stripe/shpynov/chips/build/thirdparty/htslib/src/htslib-stamp/htslib-download-*.log
[ 30%] No update step for 'htslib'
[ 33%] No patch step for 'htslib'
[ 36%] No configure step for 'htslib'
[ 38%] Performing build step for 'htslib'
In file included from bgzf.c:39:
htslib/bgzf.h:34:10: fatal error: zlib.h: No such file or directory
34 | #include <zlib.h>
| ^~~~~~~~
compilation terminated.
make[3]: *** [bgzf.o] Error 1
make[2]: *** [thirdparty/htslib/src/htslib-stamp/htslib-build] Error 2
make[1]: *** [CMakeFiles/htslib.dir/all] Error 2
make: *** [all] Error 2
Am I missing somethings, it looks like zlib build is not used while building htslib?
Dear authors, I try to build chips from the latest source code version (master) and get the following errors.
Output of
cmake
:The I launch
make
, and get the following error:Am I missing somethings, it looks like zlib build is not used while building htslib?