[Ctk-developers] Superbuild issue git_EXEC vs GIT_EXEC

Daniel Haehn haehn at bwh.harvard.edu
Tue Oct 26 14:47:29 UTC 2010


Hi guys,

SuperBuild did not work for me this morning:

-- Generated: /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/DGraphInput-alldep.txt
-- Generated: /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/DGraphInput-alldep-withext.txt
-- Generated: /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/DGraphInput.txt
-- Generated: /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/Project.xml
-- Could NOT find Git  (missing:  GIT_EXECUTABLE)
CMake Error at /opt/local/share/cmake-2.8/Modules/ExternalProject.cmake:825 (message):
  error: could not find git for clone of Log4Qt
Call Stack (most recent call first):
  /opt/local/share/cmake-2.8/Modules/ExternalProject.cmake:1165 (_ep_add_download_command)
  CMakeExternals/Log4Qt.cmake:22 (ExternalProject_Add)
  SuperBuild.cmake:131 (INCLUDE)
  CMakeLists.txt:509 (INCLUDE)

I had to add 

SET(GIT_EXECUTABLE ${git_EXECUTABLE}

to my local Slicer4-Superbuild/CTK/CMakeExternals/Log4Qt.cmake. Then it all works.

Seems just some uppercase/lowercase CMake variable issue.

Daniel

The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.



More information about the Ctk-developers mailing list