[Ctk-developers] [slicer-devel] Superbuild issue git_EXEC vs GIT_EXEC

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Tue Oct 26 10:55:51 EDT 2010


Did you started from a clean directory ?

Within CTK, removing our custom ExternalProject module (using
git_EXECUTABLE) and now relying on the official module provided by CMake
(using GIT_EXECUTABLE) may have cause some trouble.

Thks
Jc



On Tue, Oct 26, 2010 at 10:47 AM, Daniel Haehn <haehn at bwh.harvard.edu>wrote:

> 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.
> _______________________________________________
> slicer-devel mailing list
> slicer-devel at bwh.harvard.edu
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel
> To unsubscribe: send email to
> slicer-devel-request at massmail.spl.harvard.edu with unsubscribe as the
> subject
>



-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20101026/1760ace6/attachment.html>


More information about the Ctk-developers mailing list