boost icon indicating copy to clipboard operation
boost copied to clipboard

bootstrap.sh report error

Open runner365 opened this issue 4 years ago • 5 comments

./bootstrap.sh ./bootstrap.sh: line 199: ./tools/build/src/engine/build.sh: No such file or directory Building B2 engine.. ./bootstrap.sh: line 229: ./tools/build/src/engine/build.sh: No such file or directory

Failed to build B2 build engine

mac.

runner365 avatar Sep 09 '21 10:09 runner365

I just looked in the 1.77.0 release. That file is present. I checked the 1.76.0 release. It's there too.

Where did you get your boost installation? (and what version, etc).

mclow avatar Sep 09 '21 20:09 mclow

I reproduced the same issue.

Cloned repository.

➜ boost git:(master) git describe boost-1.71.0.beta1-1637-g164ae2115

./bootstrap.sh: line 199: ./tools/build/src/engine/build.sh: No such file or directory Building B2 engine.. ./bootstrap.sh: line 229: ./tools/build/src/engine/build.sh: No such file or directory

Failed to build B2 build engine


➜ boost git:(master) sw_vers ProductName: macOS ProductVersion: 11.5.2 BuildVersion: 20G95

If I sort it out, I will post back here.

ykarazia avatar Sep 14 '21 22:09 ykarazia

The solution for me was to read the instructions :(

It's possible we did the same thing.

You need to recursive clone before running the bootstrap.

Found "Install from Git" instructions here: https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview

@runner365 , give it a go and close the issue if this solves the problem. I may be a good idea to check for this missing file and recommend the --recursive flag on the clone, or a printout which points to the instructions for those of us who never read instructions to begin with :D

ykarazia avatar Sep 14 '21 23:09 ykarazia

This seems to happen on the releases provided on GitHub (for example https://github.com/boostorg/boost/archive/refs/tags/boost-1.77.0.tar.gz ), but is not an issue for the releases on JFrog, for example https://boostorg.jfrog.io/ui/native/main/release/1.77.0/source/

bkmgit avatar Sep 29 '21 10:09 bkmgit

Links from https://www.boost.org/users/history/ now point to directory links such as https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source. For example: https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.tar.gz

pkeir avatar Dec 10 '22 18:12 pkeir