gettext软件包构建时依赖msgmerge、msgfmt问题解决

gettext构建时依赖gettext提供的功能

本来是个很简单的问题,但是因为gettext提供的说明信息藏的太深而变得不简单。
具体信息在:gettext-0.19.8/gettext-tools/ABOUT-NLS文档中。

By default, this package will be installed to allow translation of
messages. It will automatically detect whether the system already
provides the GNU ‘gettext’ functions. Installers may use special
options at configuration time for changing the default behaviour. The
command:

./configure --disable-nls

其实简单就是一句话:如果你的系统上没有gettext软件包,则在configure时加上 --disable-nls.否则编译阶段会出错。

posted @ 2021-11-27 15:33  streamlet_hy  阅读(73)  评论(0编辑  收藏  举报  来源