Boost logo

Boost-Build :

Subject: Re: [Boost-build] Jamfile feature request - bjam version check
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-12-05 11:52:49


Beman Dawes wrote:

> We are trying to make the boost doc build more robust. I just ran into a
> problem because my version of bjam was older than the version required
> by the doc Jamfile. This is, of course, entirely my fault, but it would
> be very helpful if an explicit error message appeared telling me what an
> idiot I am for forgetting to keep my bjam up to date.

Please tell:

- The exact problem you run into
- What environment you're using
        - Is this GNU/Linux, or MS Windows, or GNU/Kernel32.dll
        - What is line ending of your Boost checkout
- What are the first 10 lines in Boost.Boost output

> This isn't the first time that I've had problems because a certain
> version of bjam was required for some build to work. Perhaps Jamfiles
> could have a feature that says, in effect, "version n.nn or later of
> bjam is required, but the current version is earlier than that."
>
> If this condition isn't met, the build should terminate with a clear
> error indication.

You might want to check

        http://permalink.gmane.org/gmane.comp.lib.boost.testing/6110

In short, because trunk tests are using fixed release of Boost.Jam,
hard error is impossible in general.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk