On 2/24/06, Reece Dunn <msclrhd@hotmail.com> wrote:
You need a V2 compatible version of regression.py. The one in the Boost CVS
is only for V1. Volodya posted an initial V2 adaptation, but that has a few
bugs. The one I attached (see: [Boost-testing] regression.py/Boost.Build v2
update (fixes)) corrects the issues I have found. Let me or Volodya know if
there are any other issues.

Thanks.  I got this from your post about 5 minutes after my initial email (perhaps this version of regression.py could be linked to from the Wiki page?) and am now running into problems running regressions because of the way Boost.Python is being setup.  It looks like the function "init-unix" in the v2/python.jam file pays no attention to the PYTHON_ROOT and PYTHON_VERSION environment variables like v1 used to.  It assumes it can find Python in /usr, which is not the case on my system.  I get this in results/bjam.log:

warning: Python location is not configured
warning: the Boost.Python library won't be built
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
error: Unable to find file or target named
error:     '../build//boost_python'
error: referred from project at
error:     '../libs/python/test'

The init-mac function for python.jam looks more correct to me than the init-unix one.

--
Caleb Epstein
caleb dot epstein at gmail dot com