Hey Martin, one last thing from me on this. Thanks for the fun and the help!
> the problem is the incompatibility between the upstream code (above) > and the Debian version - 1.49.0 vs 1.49.0.1. Thanks to the maintainer everything is fine with boost (for this). Am Fri, 14 Jun 2013 18:36:10 +0200 schrieb Martin Eberhard Schauer <martin.e.scha...@gmx.de>: > >> My POV is: As you already found the error (line 295), your > >> conclusion is wrong. You have 1.49.0.1, but cmake searches for > >> 1.35. > > My POV is wrong :( (see below) > > > $ grep -n -i boost CMakeLists.txt > > 74:INCLUDE(FindBoost) > > 152:FILE(GLOB boost_dirs1 > > "${build_outer_dir}/boost_1_[0-9]*_[0-9]*") 153:FILE(GLOB > > boost_dirs2 "${source_outer_dir}/boost_1_[0-9]*_[0-9]*") > > 286: BOOST_ROOT boost-build.jam PATHS ${boost_dirs1} > ${boost_dirs2} > > 287: DOC "Path to top-level Boost source directory." > > 289: SET(Boost_USE_STATIC_LIBS ON) > > 291: ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK) > > 294:SET(Boost_USE_MULTITHREADED ON) > > 295:FIND_PACKAGE(Boost 1.35.0 COMPONENTS unit_test_framework > prg_exec_monitor) > > 296:FIND_PACKAGE(Boost 1.49.0 COMPONENTS unit_test_framework > prg_exec_monitor) > > 297:FIND_PACKAGE(Boost 1.49.0) > > 298:FIND_PACKAGE(Boost 1.49.1 COMPONENTS unit_test_framework > prg_exec_monitor) > > 299:IF(NOT Boost_FOUND) > > 302: "Could not find boost headers or libraries.\n" > > 303: "You may need to install a package named > libboost1.35-dev or later." > > 305:ENDIF(NOT Boost_FOUND) > > You are close here - but I still disagree slightly. As I understand > things, the problem is the incompatibility between the upstream code > (above) and the Debian version - 1.49.0 vs 1.49.0.1. > > > Boost has already been found at > > the beginning but this is forgotten later. > > > $ cmake . > > -- Boost version: 1.49.0 > > -- Could NOT find Boost > > -- Could NOT find Boost > > -- Boost version: 1.49.0 > > -- Could NOT find Boost > > CMake Error at CMakeLists.txt:300 (MESSAGE): > > Could not find boost headers or libraries. > > "but this is forgotten later". Take it as nitpicking - there is a > difference between "not used" and "forgotten". But the *effect* is > the same - FTBFS. > (: nitpicking back: The error is raised because of the last unsuccessfull "FIND_PACKAGE(Boost 1.49.1 COMPONENTS unit_test_framework prg_exec_monitor)" which fails because neither 1.49.1 nor libboost-test-dev are installed and overrides the success of the former test (from libboost-dev package info: Version: 1.49.0.1, "This package is a dependency package, which depends on Debian's default Boost version (currently 1.49)"). < FIND_PACKAGE(Boost 1.49.0 COMPONENTS unit_test_framework prg_exec_monitor) FIND_PACKAGE(Boost 1.49.1) > -- Boost version: 1.49.0 -- Found the following Boost libraries: -- unit_test_framework -- prg_exec_monitor -- Could NOT find Boost CMake Error at CMakeLists.txt:298 (MESSAGE): Could not find boost headers or libraries. You may need to install packages named libboost-dev and libboost-test-dev version 1.35 or later. I think the topic is ready to bury :) Kardan -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130614195618.760500e0@delight