The CMake problem was fixed in svn/r4648 and will be part of CMTK 2.3.0. I just haven't had much time to work on the next release.

The proper fix, by the way, is to remove the

INCLUDE (${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeSystem.cmake)

line without replacement (turns out, the explicit include isn't actually needed at all).

Torsten

On 01/04/2013 02:22 PM, Julian Taylor wrote:
Package: cmtk
Version: 2.2.2-2
Severity: normal

cmtk fails to build with cmake 2.8.10
that version puts some files into <objdir>/<cmake-version> instead of
only <objdir>

it also searches for pkg-config which is not in the build-depends and
lzma which it does not find even though its in the build depends, I did
not check if that has any effect

patch for cmake .10:
--- CMakeLists.txt.orig 2013-01-04 22:20:54.460110812 +0000
+++ CMakeLists.txt      2013-01-04 22:19:09.636111659 +0000
@@ -51,7 +51,7 @@
  #-----------------------------------------------------------------------------
  # Test for some required system information.
  INCLUDE (${CMAKE_ROOT}/Modules/CMakeDetermineSystem.cmake)
-INCLUDE (${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeSystem.cmake)
+INCLUDE
(${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${CMAKE_VERSION}/CMakeSystem.cmake)
  INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityC.cmake)
  INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityCXX.cmake)


--
Torsten Rohlfing, PhD          SRI International, Neuroscience Program
 Senior Research Scientist      333 Ravenswood Ave, Menlo Park, CA 94025
  Phone: ++1 (650) 859-3379      Fax: ++1 (650) 859-2743
   tors...@synapse.sri.com        http://www.stanford.edu/~rohlfing/

     "Though this be madness, yet there is a method in't"


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to