[Insight-users] Error during install (3.6.0)

Luis Ibanez luis.ibanez at kitware.com
Mon May 26 08:04:03 EDT 2008


Hi Steve,

1) Nope, I didn't configured for Phyton wrapping using cableswig  :-/
    That piece of information was missing from the original error report.

2) Is your build functional after removing the components line ?
    I'll have to check with a CMake guru before we remove it for good.


   Thanks


      Luis


-----------------------
Steve M. Robbins wrote:
> On Sun, May 25, 2008 at 07:25:09PM -0400, Luis Ibanez wrote:
> 
>>Hi Olivier,
>>
>>
>>       It works for me...   :-/
> 
> 
> Dumb question: did you configure for python wrapping using cableswig?
> 
> 
> 
> 
>>From your error message it actually looks like you
>>are not doing this from a build that you configured
>>with CMake 2.6 from the begining.
> 
> 
> That's what the message implies, but it isn't true.
> I have the same problem, built from scratch using
> cmake 2.6 [1].
> 
> The error message is quite misleading, since it doesn't come from a
> generated file (necessarily).  In the case in point, it actually is
> generated, but only to subsitute in the destination directory.  The
> relevant bit ("COMPONENTS") is hardcoded, not generated:
> 
> 
> ---- Excerpt from Wrapping/CSwig/pythonfiles_install.cmake.in ----
> 
> FILE(INSTALL
>   DESTINATION "@CMAKE_INSTALL_PREFIX@@ITK_INSTALL_LIB_DIR@"
>   TYPE FILE
>   COMPONENTS "RuntimeLibraries"
>   FILES ${ITK_PYTHON_FILES})
> 
> ---- Wrapping/CSwig/pythonfiles_install.cmake.in ----
> 
> 
> I wonder if the message really should read "... generated for an older
> version of CMake." instead of "generated with".
> 
> -Steve
> 
> [1] http://buildd.debian.org/fetch.cgi?&pkg=insighttoolkit&ver=3.6.0-1&arch=amd64&stamp=1211586393&file=log
> 
> 
> 
> 
>>-----------------------
>>Olivier Tournaire wrote:
>>
>>>Hi all,
>>>
>>>I am currently trying to build ITK, but it fails during install.
>>>CMake version: cmake version 2.6-patch 0
>>>g++ version : g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
>>>Ubuntu Gutsy
>>>
>>>It builds correctly, but when I do 'sudo make install', I get the  
>>>following message:
>>>
>>>"[...]
>>>Linking CXX executable CMakeFiles/CMakeRelink.dir/itkTestDriver
>>>Install the project...
>>>-- Install configuration: ""
>>>CMake Error at cmake_install.cmake:35 (FILE):
>>>  file INSTALL called with old-style COMPONENTS argument.  This script was
>>>  generated with an older version of CMake.  Re-run this cmake version on
>>>  your build tree.
>>>"
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list