Subject: [Boost-bugs] [Boost C++ Libraries] #5534: bootstrapping boost-build on windows fails to install boost-build examples
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-12 11:39:33
#5534: bootstrapping boost-build on windows fails to install boost-build examples
-------------------------------------+--------------------------------------
Reporter: mhassert@⦠| Owner: vladimir_prus
Type: Patches | Status: new
Milestone: To Be Determined | Component: build
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
bootstrapping the current boost-build (svn rev. 71622) on windows and
executing ./bjam install does not copy the example files to share\boost-
build on windows like it does on linux.
The problem is in boost-build/Jamroot:
$(e1) the result of "path.glob-tree" contains
entries of the form "/T:/foo/bar/boost-build/example/hello/readme.txt".
Note
the extra "/" at the front.
CHECK_IF_FILE does not recognize those paths and therefore nothing is
copied.
As Steven Watanabe explained on the mailing list, path.glob-tree uses
internal path representation while CHECK_IF_FILE expects a native path.
The attached patch converts the paths using "path.native" before
CHECK_IF_FILE is called.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5534> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC