FS#28099 - [boost] bjam don't work
Attached to Project:
Community Packages
Opened by Roman Matsybora (matsic) - Wednesday, 25 January 2012, 14:01 GMT
Last edited by Ionut Biru (wonder) - Sunday, 26 February 2012, 17:28 GMT
Opened by Roman Matsybora (matsic) - Wednesday, 25 January 2012, 14:01 GMT
Last edited by Ionut Biru (wonder) - Sunday, 26 February 2012, 17:28 GMT
|
Details
Description:
Invoking bjam results message: >>> Unable to load Boost.Build: could not find "boost-build.jam" --------------------------------------------------------------- Attempted search from <your home directory> up to the root at /usr/share/boost-build and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: /usr/share/boost-build. Please consult the documentation at 'http://www.boost.org'. <<< If this pakage contains bjam it should contain boost-build folder that included in boost repository. Additional info: * package version 1.48.0-2 Steps to reproduce: Unpack archive and run bjam from unpacked directory. |
This task depends upon
Closed by Ionut Biru (wonder)
Sunday, 26 February 2012, 17:28 GMT
Reason for closing: Fixed
Additional comments about closing: boost-build is now in community
boost-build added to boost optdepends, will be available with 1.49.0
Sunday, 26 February 2012, 17:28 GMT
Reason for closing: Fixed
Additional comments about closing: boost-build is now in community
boost-build added to boost optdepends, will be available with 1.49.0
boost-build-test.tar.xz
The short ans is, you can install boost-build-nightly or boost-build in AUR to fix this.
Boost jam is possible (but hard) to work without boost-build at all.
Maybe boost-build should be added in the optdepends array in boost's PKGBUILD.
Don't do that. AFAIK, boost-build.jam and boostcpp.jam are used to build boost itself, not for users.
The right way is just put boost-build in optdepends array, like this:
optdepends=('boost-build: to use boost jam to build your project.')
If you really want to include boost-build in boost package.
You have to copy "${boostdir}/tools/build/v2" to "${pkgdir}/usr/share/boost-build"
and remove "${pkgdir}/usr/share/boost-build/engine"
and generate a configure in "{pkgdir}/etc/site-config.jam" which at least include "using gcc ;" .
FYI, Just take a look how boost-build in AUR works.
IMO, this is a bad idea.
BTW I can pass that boost-build-test because I installed boost-build-nightly on my machine.