Compiling problem


I am new to SciDB and I am trying to build SciDB from source. I have a question about CMake trying to find ‘Git’ package. In CMakeList.txt, it has a line

I am confused what is it trying to find? Usually a package is a libraray that contains headers and compiled libraries. I am not sure about git here. Git is an application.
I have git installed and the binary is in /usr/bin/git

CMake complains that

CMake Warning at CMakeLists.txt:46 (find_package):
Could not find module FindGit.cmake or a configuration file for package

Adjust CMAKE_MODULE_PATH to find FindGit.cmake or set Git_DIR to the
directory containing a CMake configuration file for Git. The file will
have one of the following names:


I tried to set Git_DIR to /usr/bin, and it doesn’t help.

Would somebody tell me that what CMake is trying to look for so that I can set the correct path?

Thanks a lot!


Looks like you don’t have GIT modules in your CMake installation. May be it too old?
Anyway this is warning, not error, so you can just ignore it. This addition was done just to able build SciDB after cloning from svn to git to pickup right revision number.