[Insight-users] Installing ITK broken
Kent Williams
kent at psychiatry.uiowa.edu
Fri Oct 27 17:28:31 EDT 2006
It's one thing to run continuous builds -- great for unit testing the
software. But the install system doesn't get regularly tested. As it
happens the way we use ITK day-to-day, we actually build, then install
it, and an error has crept into that process. It is linked to switching
to the new Install method in CMake. These lines in
Insight/Utilities/CMakeLists.txt seem to be causing the problem...
INSTALL(FILES
${ITK_BINARY_DIR}/Utilities/itkThirdParty.h
${ITK_BINARY_DIR}/Utilities/itk_zlib.h
${ITK_BINARY_DIR}/Utilities/itk_tiff.h
${ITK_BINARY_DIR}/Utilities/itk_png.h
DESTINATION ${ITK_INSTALL_INCLUDE_DIR}/Utilities
COMPONENT Development
)
make[2]: Leaving directory
`/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight'
Install the project...
-- Install configuration: "Debug"
-- Installing
/scratch/kent/brains2/gcc4/DEBUG/src/include/InsightToolkit/itkConfigure.h
-- Installing
/scratch/kent/brains2/gcc4/DEBUG/src/lib/InsightToolkit/ITKBuildSettings.cmake
-- Installing
/scratch/kent/brains2/gcc4/DEBUG/src/lib/InsightToolkit/ITKLibraryDepends.cmake
-- Installing
/scratch/kent/brains2/gcc4/DEBUG/src/lib/InsightToolkit/UseITK.cmake
-- Installing
/scratch/kent/brains2/gcc4/DEBUG/src/lib/InsightToolkit/ITKConfig.cmake
CMake Error: Error in cmake code at
/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/Utilities/cmake_install.cmake:31:
FILE cannot create directory: /include/InsightToolkit/Utilities. Maybe
need administrative privileges.
Current CMake stack:
.../Insight/cmake_install.cmake;/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/Utilities/cmake_install.cmake
make[1]: *** [install] Error 255
make[1]: Leaving directory
`/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight'
make: ***
[/scratch/kent/brains2/gcc4/DEBUG/src/lib/InsightToolkit/ITKBuildSettings.cmake]
Error 2
Compilation exited abnormally with code 2 at Fri Oct 27 15:14:07
More information about the Insight-users
mailing list