This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Assembly stats

Hello, I downloaded assembly stats from https://github.com/sanger-pathogens/assembly-stats/archive/refs/heads/master.zip and then used to following commands to install:

mkdir build
cd build
cmake ..
make
make test
make install

But when ever I am trying this cmake .. it is giving following error message

    Make Error at /usr/share/cmake-3.16/Modules/ExternalProject.cmake:2421 (message):
  error: could not find git for clone of bxzstr-download
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/ExternalProject.cmake:3236 (_ep_add_download_command)
  CMakeLists.txt:6 (ExternalProject_Add)

Could you please help me out. Thank you

cmake

Thank you. It worked but in the end when I gave command make install then it is giving the following error:

  CMake Error at cmake_install.cmake:55 (file):
  file INSTALL cannot copy file
  "/home/fuad/Downloads/assembly-stats-master/build/assembly-stats" to
  "/usr/local/bin/assembly-stats": Permission denied.


make: *** [Makefile:74: install] Error 1

1 answer

The errors is: file INSTALL cannot copy file "/home/fuad/Downloads/assembly-stats-master/build/assembly-stats" to "/usr/local/bin/assembly-stats": Permission denied.

see Permission denied while running make install

I used sudo make install. It works. Thank you

Log in to answer this question.