Boost logo

Boost :

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


Hello,

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

Build:

  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
gcc)

However when afterward I check

   ldd stage/lib/libboost_regex.so

It shows no evidence of linking with ICU.

Version 1.44
------------

Build:

  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.

Artyom

      


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk