Boost logo

Boost :

Subject: [boost] [Regex] Building Boost.Regex with ICU
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-09-20 06:45:33


I'm trying to build some basic Boost.Locale Jam file on base of Boost.Regex one,
however... I can't even build Boost.Regex with ICU at all.

Version 1.43

Debian, ICU 3.8 installed in regular place /usr/lib/libicu*.so


  bjam -d+2 -sHAVE_ICU=1 stage

Shows that the build is done with ICU (i.e. -DBOOST_HAS_ICU=1 in command line of

However when afterward I check

   ldd stage/lib/

It shows no evidence of linking with ICU.

Version 1.44


  bjam -d+2 -sHAVE_ICU=1 stage

Shows that the build is done without ICU! i.e. -DBOOST_HAS_ICU=1 in command line
of gcc
is NOT defined. And of course ldd shows the same

Even if I specify

  bjam -d+2 -sHAVE_ICU=1 -sICU_PATH=/usr stage

Or try to use ICU4.4 installed on other location

  bjam -d+2 -sHAVE_ICU=1 -sICU_PATH=/opt/icu44 stage

Same result.

I don't understand how can I actually get the library (especially recent)
built with ICU.



Boost list run by bdawes at, gregod at, cpdaniel at, john at