On Wed, Mar 24, 2010 at 10:49:53PM +0100, Landry Breuil wrote:
> On Wed, Mar 24, 2010 at 05:49:10PM +0100, Landry Breuil wrote:
> > On Sat, Mar 20, 2010 at 03:01:24PM +0100, dermiste wrote:
> > > Hi folks,
> > >
> > > here is the update for icu4c-4.4, compiles and pass integrated regression
> > > tests on i386.
> >
> > Builds and regress fine on amd64, though :
> >
> > icu4c-4.4:
> > Missing lib: icutest.3 (/usr/local/bin/icuinfo) (NOT REACHABLE)
> > *** Error code 1 (ignored)
> >
> > $icuinfo
> > icuinfo: can't load library 'libicutest.so.3.0'
> >
> > It's in build-${ARCH}/tools/ctestfw/libicutest.so.3.0, but not
> > installed.. either find a way to install it, or don't install icuinfo.
> >
> > I'm currently building webkit with this updated version, but this
> > problem needs to be fixed first.
>
> As is, that breaks in-tree webkit 1.1.15.4 or my wip 1.1.18.
>
> WebCore/platform/text/TextBreakIteratorICU.cpp: In function
> 'WebCore::TextBreakIterator* WebCore::setUpIterator(bool&,
> WebCore::TextBreakIterator*&, UBreakIteratorType, const UChar*, int)':
> WebCore/platform/text/TextBreakIteratorICU.cpp:41: error: invalid
> static_cast from type 'UBreakIterator*' to type
> 'WebCore::TextBreakIterator*'
>
> See http://bugs.gentoo.org/show_bug.cgi?id=308699 or
> http://trac.macports.org/ticket/22864 for the record.
>
> With
> http://trac.macports.org/attachment/ticket/22864/TextBreakIterator.diff
> applied webkit builds.
I spoke too fast.. it builds, but fails to link. UNICODE_LIBS in webkit
makefiles is empty, as icu-config fails.
### icu-config: Can't find /usr/local/lib/libicuuc.so.*.* - ICU prefix
is wrong.
### Try the --prefix= option
### or --detect-prefix
### (If you want to disable this check, use the --noverify option)
### icu-config: Exitting.
$ls -l /usr/local/lib/libicuuc.so.*.*
-r-xr-xr-x 1 root bin 1384208 Mar 24 17:37
/usr/local/lib/libicuuc.so.3.0*
But if i disable their internal sanity check, it works :
$/usr/local/bin/icu-config --noverify --ldflags-libsonly
-licui18n -licuuc -licudata
so icu-config might need a second look. Did you actually test to compile
anything depending on icu ?
I dunno how icu4c 4.2 was, but it worked and linked webkit fine.
Landry