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: | 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)
Change History (2)
by , 11 years ago
Attachment: | fix_install_examples_on_windows.diff added |
---|
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch to fix installing of boost-build examples on windows