Boost logo

Boost :

Subject: Re: [boost] [1.48.0] Beta 1 release candidates available
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2011-10-27 06:42:57


> > On Ubuntu 11.10 amd64 with g++ (and gcc) 4.6.1, I built  ICU 4.8.1 with almost > all default options except for specifying a non-default installation dir.  Then > I created the LD_LIBRARY_PATH environment variable and set it to the lib dir of > that new ICU installation *but did not* also create an ICU_PATH environment > variable.  Then I ran the boost bootstrap.sh script with a > '--with-icu=/home/martin/app/icu/installation' parameter.  The output of > the b2 contained (among other things) the following bits about ICU: >     - has_icu builds          : yes > ... >     - icu                      : no >     - icu (lib64)              : no > > > Which led me to expect that the boost regex libs would end up referencing the > Ubuntu default ICU libs (which was not what I wanted to do).  But they > didn't, instead they *did* correctly reference the newly built ICU libraries > (or at least that's how I'm interpreting the output of ldd against > libboost_regex.so ).  Which is nice, but doesn't that also mean that the > docs in Boost regex about the ICU_PATH environment variable might need some > revision?  Or did I just luck out somehow? There are two libraries using ICU - regex and locale they look for the library in quite different manner as for Boost.Locale ICU is central and important part. If you want to build Boost.Locale with specific library location you should provide    ./b2 -sICU_PATH=/path/to/icu/root See:     http://svn.boost.org/svn/boost/trunk/libs/locale/doc/html/building_boost_locale.html I don't really know your specific setup and installation options but the two last lines relate to Boost.Locale's ICU location and the first one Boost.Regex's Try to use this option and see if there any problems. Artyom


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