当我从数据库中删除项目时,为什么 libicudata.so 没有变小?
我正在尝试使用最少的数据集构建自定义 ICU。我尝试按照 Reducing the Size of ICU 的数据:转换表,但是 ICU 4.8.1 源代码发行版中不存在引用的许多文件。具体来说,我找不到任何与 ucm*.mk 匹配的文件。
我还尝试创建 reslocal.mk 文件,如 ICU 的 source/data/lang/resfiles.mk 所示。这也没有帮助。我的构建是典型的:
$ ./configure --prefix=/some/dir
$ make
$ make install
无论我做什么,libicudata.so.48.1 大约是 17M。这应该不重要,但我正在 Ubuntu 11.04 上构建。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅该页顶部的注释:(请参阅
您的 ICU 正在从
icu/source/data/in/*.dat
读取预构建的包并忽略 .mk 文件。我们已收到请求将源数据作为可下载的 .zip 包含在内,因此我们计划将来这样做。如果您对如何使我们的说明更加清晰有任何建议,请提交错误。我已将该通知的副本添加到您引用的部分。
See the note at the top of that page: (see
Your ICU is reading the prebuilt package from
icu/source/data/in/*.dat
and 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.