[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#712056: RFS: scantailor [ITP] -- interactive post-processing tool for scanned document pages



> Now there is another issue with boost.
>
> $ cmake .
> -- Boost version: 1.49.0
> -- Could NOT find Boost
> CMake Error at CMakeLists.txt:297 (MESSAGE):
>   Could not find boost headers or libraries.
>
>   You may need to install a package named libboost1.35-dev or similarly.
>
> ii  libboost-dev                                                1.49.0.1
>
> The interesting line CMakeLists.txt is
> 295: FIND_PACKAGE(Boost 1.35.0 COMPONENTS unit_test_framework
> prg_exec_monitor)
>
> < /usr/share/cmake-2.8/Modules/FindBoost.cmake
> # Currently this module searches for the following version numbers:
> # 1.33, 1.33.0, 1.33.1, 1.34, 1.34.0, 1.34.1, 1.35, 1.35.0, 1.35.1,
> # 1.36, 1.36.0, 1.36.1, 1.37, 1.37.0, 1.38, 1.38.0, 1.39, 1.39.0,
> # 1.40, 1.40.0, 1.41, 1.41.0, 1.42, 1.42.0, 1.43, 1.43.0, 1.44, 1.44.0,
> # 1.45, 1.45.0, 1.46, 1.46.0, 1.46.1, 1.47, 1.47.0, 1.48, 1.48.0,
> # 1.49, 1.49.0, 1.50, 1.50.0, 1.51, 1.51.0, 1.52, 1.52.0,
> # 1.53, 1.53.0, 1.54, 1.54.0, 1.55, 1.55.0, 1.56, 1.56.0
>
> With my limited view I assume it is not necessary to request this
> specific version. Otherwise I see obstacles to use scantailor on wheezy.

I found (1) and there under Configuration:

* If you have missing dependencies you will get an error message telling you what is missing. You can then search for the missing package and install it.

 * If you have a library and header files installed in a non-standard place
 then cmake will not find them. In that case you can run the interactive
 program ccmake which allows you to specify paths to libraries and header
 files.

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. So patch CMakeLists.txt
or run ccmake.

If you don't want scantailor just to compile and run on your personal Wheezy
box, compile for unstable, wait for testing migration and then do a backport.

HTH, Martin

1: http://sourceforge.net/apps/mediawiki/scantailor/index.php?title=Building_from_source_code_on_Linux_and_Mac_OS_X
Reply to: