Opened 9 years ago

Last modified 9 years ago

#9728 new Bugs

Bootstrap currently fails

Reported by: myselfasunder@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost Development Trunk Severity: Showstopper
Keywords: Cc:

Description

I just just did a clone from Github.

The instructions that I'm following are at more/getting_started/unix-variants.html.

The first step fails on a missing directory:

boost$ ./bootstrap.sh 
./bootstrap.sh: 1: ./bootstrap.sh: ./tools/build/v2/engine/build.sh: not found
Building Boost.Build engine with toolset ... 
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details

Change History (1)

comment:1 by myselfasunder@…, 9 years ago

It turns out that the directions under 5.1 don't work at all, but 5.2.1 works fine.

However, 5.2.4 (using b2 to build Boost) don't work.

Command:

boost$ b2 --build-dir=/tmp/build-boost toolset=gcc stage

Unable to load Boost.Build: could not find build system.
---------------------------------------------------------
/home/dustin/build/boost/boost-build.jam attempted to load the build system by invoking

   'boost-build tools/build/v2 ;'

but we were unable to find "bootstrap.jam" in the specified directory
or in BOOST_BUILD_PATH (searching /home/dustin/build/boost/tools/build/v2, /usr/share/boost-build).

Please consult the documentation at 'http:--www.boost.org'.

bootstrap.jam is located here:

boost$ find ./ -name "bootstrap.jam"
./tools/build/src/kernel/bootstrap.jam
./tools/build/src/bootstrap.jam
./tools/build/test/startup/boost-root/build/bootstrap.jam

If I change to tools/build/src:

boost/tools/build/src$ b2 --build-dir=/tmp/build-boost toolset=gcc stage
notice: could not find main target stage
notice: assuming it is a name of file to create.
error: Project target requested but not yet assigned for module 'Jamfile</home/dustin/build/boost/tools/build/src>'.
Note: See TracTickets for help on using tickets.