Package: libboost1.40-doc Version: 1.40.0-6 Severity: normal
Bug #452410 which was originally filed for package libboost1.37-doc, has reappeared again in libboost1.40-doc. The boost.python examples that are shipped with the boost sources are designed to only work in the boost source tree. Extracting the sources requires modifictaion of the Jamfile. The modification is such that a dependency on the boost source tree is replaced with a dependency to the libboost_python library that is shipped with debian. I have taken the suggested patch from the #452410 and modified it to make it work for 1.40. Note: the two other examples: 'example' and 'quickstart' may suffer from a similar issue. regards valentin diff --git a/tutorial/Jamroot b/tutorial/Jamroot index 2e7ffe5..b6f63a9 100644 --- a/tutorial/Jamroot +++ b/tutorial/Jamroot @@ -11,16 +11,25 @@ if ! [ python.configured ] using python ; } -# Specify the path to the Boost project. If you move this project, -# adjust this path to refer to the Boost root directory. -use-project boost - : ../../../.. ; - -# Set up the project-wide requirements that everything uses the -# boost_python library from the project whose global ID is -# /boost/python. -project - : requirements <library>/boost/python//boost_python ; +# # Specify the path to the Boost project. If you move this project, +# # adjust this path to refer to the Boost root directory. +# # use-project boost +# : ../../../.. ; + +# # Set up the project-wide requirements that everything uses the +# # boost_python library from the project whose global ID is +# # /boost/python. +# project +# : requirements <library>/boost/python//boost_python ; + +# Specify that the boost-python library exists under the name +# boost_python. That is, because the library was installed at the +# standard search path as /usr/lib/libboost_python.so, bjam will find +# it automatically. No need to specify the absolute path. +lib libboost_python : : <name>boost_python ; + +# boost_python library. +project : requirements <library>libboost_python ; # Declare the three extension modules. You can specify multiple # source files after the colon separated by spaces. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash libboost1.40-doc depends on no packages. libboost1.40-doc recommends no packages. Versions of packages libboost1.40-doc suggests: ii libboost1.40-dev 1.40.0-6+b1 Boost C++ Libraries development fi -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org