
Hello All, after some years of using jam, I tried to switch to bjam today. I'm using deb packages from the debian linux testing distro: bjam-3.1.11-1 boost-build-2.0-m10-1 (Building bjam myself from sources gave exactly the same result) Compiling a very simple qt4 application file is no problem. But installing it in a dist directory will not happen? bjam reports: src/Jamfile:7: in modules.load rule install unknown in module Jamfile. /usr/share/boost-build/build/project.jam:255: in load-jamfile /usr/share/boost-build/build/project.jam:67: in load /usr/share/boost-build/build/project.jam:71: in project.load /usr/share/boost-build/build-system.jam:75: in load /usr/share/boost-build/kernel/modules.jam:259: in import /usr/share/boost-build/kernel/bootstrap.jam:120: in boost-build /usr/share/boost-build/boost-build.jam:1: in module scope ---- qscope/src/Jamfile --------------------------------------- exe qscope : main.cpp : <library>/usr/lib/libQtCore.so <library>/usr/lib/libQtGui.so ; install dist : qscope ; ------------------------------------------------------------------ Searching the net/user mailing list and reading bjam -d9 output didn't help me. Can you give me a hint how to proceed? Thanks in advance. Kind regards Bert Verbeek

Bert Verbeek wrote:
Hello All,
after some years of using jam, I tried to switch to bjam today. I'm using deb packages from the debian linux testing distro:
bjam-3.1.11-1 boost-build-2.0-m10-1
(Building bjam myself from sources gave exactly the same result)
Compiling a very simple qt4 application file is no problem.
But installing it in a dist directory will not happen?
bjam reports:
src/Jamfile:7: in modules.load rule install unknown in module Jamfile.
Hi Bert, the problem is that M10 is pretty old version of Boost.Build. I'd suggest you obtain the nightly version from http://boost.org/boost-build2 In fact, I'm surprised that you got Qt4 application working, M10 has no support for Qt4, while current version has very complete Qt4 support. - Volodya

Vladimir Prus
Hi Bert, the problem is that M10 is pretty old version of Boost.Build. I'd suggest you obtain the nightly version from http://boost.org/boost-build2
Thanks for the answer. I already tried the boost_1_33_1 build part, that contained an install rule in stage.jam as well. I thought the Debian testing release would be up to date. I'll inform the maintainer of the package, anyway.
In fact, I'm surprised that you got Qt4 application working, M10 has no support for Qt4, while current version has very complete Qt4 support.
I noticed, but it was still a very simple hello-world-like app. Just getting the includes and libs right. I'll try the nightly version tonight for the Qt4 stuff. Thanks again. Bert
participants (2)
-
Bert Verbeek
-
Vladimir Prus