|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-06-09 05:36:01
Rene just reported this problme to me. I'm not sure what "string
changes" he's talking about, but maybe it explains some of the
breakage I'm suddenly seeing?
--=-=-= Content-Type: message/rfc822
Content-Disposition: inline
Return-Path: <rene_at_[hidden]>
Message-ID: <42A7DA88.3050808_at_[hidden]>
Date: Thu, 09 Jun 2005 00:58:32 -0500
From: Rene Rivera <rene_at_[hidden]>
To: David Abrahams <dave_at_[hidden]>
Subject: Problems with bjam...
MIME-Version: 1.0
Dave,
In addition to the problems with v2 building which you fixed, thanks by
the way. I'm having another bjam problem which is rather mysterious, but
I'm suspecting is related to the recent string changes. In
boost-root/tools/build/v2/tools/msvc-config.jam I do some registry
access with:
local vc-path = [ W32_GETREG
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\$(R)\\Setup\\VC"
: "ProductDir" ] ;
Which no longer works reliably. It seemed random at first but I think I
have a reproducible sequence. Starting fresh, by deleting
boost-root/bin.v2 and boost-root/dist and doing:
cd boost-root/tools
bjam --v2 --debug-configuration -d+2
It works. Then if I let it compile one or two files (or the complete
tools), then stop it. And run the bjam command again I get error because
it would not configure the msvc toolset, because the registry access
returned nothing, when it had just worked. If then I add an 'ECHO
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\$(R)\\Setup\\VC"
;' before the above line, it works again.
I'm out of time to investigate this. If you have time to look at it
great. Otherwise I'll look at it when I get back.
-- -- Grafik - Don't Assume Anything -- rene/boost-consulting.com - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org --=-=-= -- Dave Abrahams Boost Consulting www.boost-consulting.com --=-=-=--
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