From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-06-08 08:17:10
John Maddock wrote:
>>I have Fedora (pre-FC4). There are packages for icu: libicu,
>> libicu-doc which I installed.
>> I can't seem to convince bjam to use them. What do I need to do?
>> Headers are in /usr/include/unicode (e.g., /usr/include/utypes.h). Libs
>> rpm -ql libicu
> The Jamfiles getting confused because the libs are under a different path
> to the headers, try:
> export ICU_PATH=/usr
> export ICU_LINK="-licuuc -licui18n"
> bjam stage # or whatever
> Hopefully that should work,
Works, but could be better:
ICU_PATH=/usr ICU_LINK="-licuuc -licui18n" PYTHON_ROOT=/usr
PYTHON_VERSION=2.4 bjam -sTOOLS=gcc stage
Building Boost.Regex with Unicode/ICU support enabled
Using ICU in /usr/include
...found 7586 targets...
...updating 130 targets...
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
Seems to work, but you see the warnings. This is on Fedora x86_64.
Apparantly, someone added -L/usr/lib, which would cause those annoying
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk