我正在尝试在Ubuntu 18.04.2。上安装工具shmutzi。我已经从git中克隆了它,安装了所有依赖项(zlib除外,找不到安装apt的文件,我知道它包含在zlib1g-dev中)。
当我尝试使用make
工具时,我得到了:
$ make
make -C src/
make[1]: Entering directory '/home/nextgen/src/schmutzi/src'
cd ../lib/bamtools// && mkdir -p build/ && cd build/ && cmake .. && make && cd ../../../src/
-- Checking for one of the modules 'jsoncpp>=1'
Did NOT find system JsonCpp, instead using bundled version
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindZLIB.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/api/CMakeLists.txt:34 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/nextgen/src/schmutzi/lib/bamtools/build/CMakeFiles/CMakeOutput.log".
See also "/home/nextgen/src/schmutzi/lib/bamtools/build/CMakeFiles/CMakeError.log".
Makefile:27: recipe for target
'../lib/bamtools//build/src/api/libbamtools.a' failed
make[1]: *** [../lib/bamtools//build/src/api/libbamtools.a] Error 1
make[1]: Leaving directory '/home/nextgen/src/schmutzi/src'
Makefile:16: recipe for target 'src/endoCaller' failed
make: *** [src/endoCaller] Error 2
我尝试删除并重新安装zlib。 Zlib.h位于/ usr / include /中。它甚至说找到了一个版本。我该怎么解决?
答案 0 :(得分:-1)
您可以通过zlib
安装sudo apt install zlib1g-dev
。