I’m trying to build a custom ICU with a minimal data set. I’ve tried to follow the instructions at Reducing the Size of ICU’s Data: Conversion Tables, but many of the files referenced don’t exist in the ICU 4.8.1 source distribution. Specifically, I cannot find any files that match ucm*.mk.
I’ve also tried creating reslocal.mk files as indicated in e.g. ICU’s source/data/lang/resfiles.mk. That did not help either. My build is the typical:
$ ./configure --prefix=/some/dir
$ make
$ make install
Regardless of what I do, libicudata.so.48.1 is about 17M. It shouldn’t matter, but I’m building on Ubuntu 11.04.
See the note at the top of that page: (see
Your ICU is reading the prebuilt package from
icu/source/data/in/*.datand ignoring the .mk files. We have had requests for the source data to be included as a downloadable .zip and so we plan to do this in the future.If you have any suggestions for how our instructions can be made more clear, please file a bug. I’ve added a copy of that notice to the section you referenced.