Opened 11 years ago

Closed 11 years ago

#5534 closed Patches (fixed)

bootstrapping boost-build on windows fails to install boost-build examples

Reported by: mhassert@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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.

Attachments (1)

fix_install_examples_on_windows.diff (292 bytes ) - added by mhassert@… 11 years ago.
patch to fix installing of boost-build examples on windows

Download all attachments as: .zip

Change History (2)

by mhassert@…, 11 years ago

patch to fix installing of boost-build examples on windows

comment:1 by Vladimir Prus, 11 years ago

Resolution: fixed
Status: newclosed

(In [72424]) Fix installing Boost.Build examples on Windows.

Patch from Moritz Hassert. Fixes #5534.

Note: See TracTickets for help on using tickets.