<br>I've got a build going for some ITK code and I want to install the binaries into /usr/local/bin/.<br><br>This is what I try, without success.<br><br><span style="font-family: courier new,monospace;">[ ~/src/kitware/itkImageSeries2Volume-build ]$ gmake</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ 9%] Built target itkImageSeries2VTKvolume</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ 18%] Built target itkImageSeriesResize</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ 27%] Built target itkImageSeriesSize</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ 36%] Built target itkRGBCoregisterImageSeries2VTKvolume</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ 45%] Built target itkRGBImageSeries2VTKvolume</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ 54%] Built target itkRGBImageSeriesComposeAffineTransforms</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ 63%] Built target itkRGBImageSeriesComposeRigid2DTransforms</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ 72%] Built target itkRGBImageSeriesComposeScalableAffine</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ 81%] Built target itkRGBImageSeriesComposeTransforms</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ 90%] Built target itkRGBImageSeriesResize</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[100%] Built target itkRGBImageSeriesSize</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ ~/src/kitware/itkImageSeries2Volume-build ]$ gmake
install</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
gmake: *** No rule to make target `install'. Stop.</span><br>
<br><br>Here's the content of the cmake_install.cmake file (I replace my home path with <span style="font-family: courier new,monospace;">${HOME} </span>only for this email):<br><br><span style="font-family: courier new,monospace;">[ ~/src/kitware/itkImageSeries2Volume-build ]$ cat cmake_install.cmake </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># Install script for directory: </span><span style="font-family: courier new,monospace;">${HOME}</span><span style="font-family: courier new,monospace;">/src/kitware/itkImageSeries2Volume</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># Set the install prefix</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">IF(NOT DEFINED CMAKE_INSTALL_PREFIX)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SET(CMAKE_INSTALL_PREFIX "/usr/local")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># Set the install configuration name.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> IF(BUILD_TYPE)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ELSE(BUILD_TYPE)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SET(CMAKE_INSTALL_CONFIG_NAME "")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ENDIF(BUILD_TYPE)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># Set the component getting installed.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">IF(NOT CMAKE_INSTALL_COMPONENT)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> IF(COMPONENT)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> MESSAGE(STATUS "Install component: \"${COMPONENT}\"")</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ELSE(COMPONENT)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SET(CMAKE_INSTALL_COMPONENT)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ENDIF(COMPONENT)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ENDIF(NOT CMAKE_INSTALL_COMPONENT)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">IF(CMAKE_INSTALL_COMPONENT)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ELSE(CMAKE_INSTALL_COMPONENT)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ENDIF(CMAKE_INSTALL_COMPONENT)</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">FILE(WRITE "${HOME}/src/kitware/itkImageSeries2Volume-build/${CMAKE_INSTALL_MANIFEST}" "")</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> FILE(APPEND "</span><span style="font-family: courier new,monospace;">${HOME}</span><span style="font-family: courier new,monospace;">/src/kitware/itkImageSeries2Volume-build/${CMAKE_INSTALL_MANIFEST}" "${file}\n")</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ENDFOREACH(file)</span><br style="font-family: courier new,monospace;"><br><br>TIA,<br>Darren<br><br>