我正在尝试安装工具 bam-window,但出现 cmake 错误。我在 linux 中下载了 bam-window-master.zip。该工具的链接托管在 git https://github.com/genome-vendor/bam-window中。我下载并遵循以下命令。
unzip bam-window-master.zip
cd bam-window-master
mkdir build
cd build
cmake ..
在做 cmake .. 编译我一段时间后我得到一个错误
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Git: /usr/bin/git (found version "1.7.10.4")
CMake Error at cmake/GitHelper.cmake:15 (message):
Failed to get git revision, abort: fatal: Not a git repository (or any
parent up to mount point /scratch/GT)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
!
Call Stack (most recent call first):
CMakeLists.txt:9 (get_git_version_info)
我如何摆脱这个并正确安装?