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