[Insight-users] Error during install (3.6.0)

Olivier Tournaire olitour at gmail.com
Mon May 26 08:05:33 EDT 2008


Hi all,

I solved the problem with running cmake-2.4 patch 7. It worked ...
Regards

2008/5/26 Steve M. Robbins <steve at sumost.ca>:

> 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.
> >> "
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIOiTu0i2bPSHbMcURAo5vAJ96Ha5YuXD2Z+8dWNzTJWu6oQylMwCfUXW3
> xDkqgP8MjkdzlWxyIbpKijM=
> =Ssxe
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080526/c24ab518/attachment.htm>


More information about the Insight-users mailing list