Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] Cannot build Regex without ICU
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-02-26 10:44:10


On 02/26/2015 08:33 AM, Rob Desbois wrote:
> I want to build the Boost libs without ICU support in Regex, but have been
> unable to prevent it from being linked in.
> I've run the following commands on a freshly extracted distribution of 1.57:
> ./ --without-icu
> --prefix=/home/rob/workspace/deps/boost/1.57.0/linux/x64/
> ./b2 install
> The bootstrap stage output includes this, which seems to indicate it's
> behaving correctly:
> Unicode/ICU support for Boost.Regex?... disabled.
> <snip>
> I know the docs for Boost.Regex specify the bootstrap argument as
> --disable-icu, however this is rejected as invalid, unlike the argument I
> provide.
> Have I messed up somewhere or is this a bug?

You need to pass --disable-icu to b2.
It looks like the bootstrap script doesn't
record --without-icu in a way that the
regex build understands.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at