Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem in building boost with Linux
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-31 12:22:26


AMDG

On 03/30/2014 03:11 PM, Nabeel Khan wrote:
> Hi,
>
> I am using following version of gcc:
>
> *gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3*
>
> tools/build/v2/engine/build.sh --guess-toolset returns *gcc*
>

Okay. That's completely normal and I have no
idea why bootstrap.sh is failing for you. I can't
reproduce the problem.
The first line of the output of ./bootstrap.sh
should be
Building Boost.Build engine with toolset gcc...
tools/build/v2/engine/bin.linuxx86[_64]/b2
Is that correct?

If not, the in bootstrap.sh on line 147, the condition
should be true, and bootstrap.sh should set TOOLSET by
calling .../build.sh --guess-toolset. I can't see any reason
why it wouldn't work. I also can't see any reason why
TOOLSET would get unset later.

Hmm. What is /bin/sh? I get:
[steven_at_localhost boost_1_53_0]$ /bin/sh --version
GNU bash, version 4.2.45(1)-release-(x86_64-redhat-linux-gnu)

Anyway, if you don't mind spending more time on this,
you can try adding echos to bootstrap.sh to figure
out where it goes wrong. I'm afraid there's not
much I can myself do without being able to reproduce it.

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk