
Here is the command I used to build regex with icu support on linux machine.
I specified where is the icu library I installed instead of system library
directory.
./bjam --prefix=/home/qhwang/mylibs/boost/ --with-regex
--build-dir=/tmp/boost_build/ --build-type=complete -sHAVE_ICU=1
-sICU_PATH=/home/qhwang/mylibs/icu/ install
The regex library I built is dependent on icu library. If you don't specify
HAVE_ICU=1 then you don't need ICU_PATH either. Then the regex will not be
dependent on icu library. You can't create a u32regex by calling
make_u32regex to match or search unicode string. Hope my explain is helpful.
Qihong
On Thu, Apr 2, 2009 at 11:45 AM, Juan Antonio Farré Basurte
Yes I have the same issue but it has never been a problem to me, I do not
know what it means:
Building Boost.Regex with the optional Unicode/ICU support disabled
Oh, that is a different problem than mine. It means that you don't have ICU libraries (or it can't detect them). The only effect is that you cannot use unicode in regular expressions. You just have to install ICU (libicu and libicu-devel) libraries and it'll detect them automatically. For me, it just complains it cannot find the shared libraries, probably because it searches in /usr/lib and not /usr/lib64, but I don't know if that is a problem. Cheers,
Juan
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users