make error during installation of metabat2

Issue #107 resolved
Former user created an issue

Hi I am installing MetaBat2 on Linux cluster. While Building MetaBat2 on server - 2.6.32-431.29.2.el6.x86_64: I am facing error during 'make'. Could you please me resolve this issue?

After $ cmake3 -DCMAKE_INSTALL_PREFIX=/apps/berkeleylab-metabat-a101cde67177

$ make [ 4%] Checking the git repository for changes... [ 4%] Built target check_git_repository [ 8%] Performing download step (git clone) for 'zlib' CMake Error at zlib-stamp/zlib-download-Release.cmake:16 (message): Command failed: 1

'/usr/bin/cmake3' '-P' '/apps/berkeleylab-metabat-a101cde67177/contrib/zlib-prefix/tmp/zlib-gitclone.cmake'

See also

/apps/berkeleylab-metabat-a101cde67177/contrib/zlib-prefix/src/zlib-stamp/zlib-download-*.log

make[2]: [CMakeFiles/zlib.dir/build.make:90: contrib/zlib-prefix/src/zlib-stamp/zlib-download] Error 1 make[1]: [CMakeFiles/Makefile2:105: CMakeFiles/zlib.dir/all] Error 2 make: *** [Makefile:139: all] Error 2

Thanks and regards

Suran

Comments (2)

  1. Rob Egan

    So you will have to follow the directions of the error and include the contents of “/apps/berkeleylab-metabat-a101cde67177/contrib/zlib-prefix/src/zlib-stamp/zlib-download-*.log” for any details that may help.

    But my hypothesis is that git is not installed or your server cannot make a connection to the internet or there was a transient problem in cloning the zlib repository, or possibly git cannot be found by CMake when first configured.

    What version of cmake is installed?

    What version of git is installed?

    what version of g++ is installed?

  2. Log in to comment