我需要升级travis-ci.org CI服务上的gettext,因为The AM_GNU_GETTEXT_VERSION declaration in your configure.ac file requires the infrastructure from gettext-0.19 but this version is older. Please upgrade to gettext-0.19 or newer是基于Ubuntu14.04的,所以我通过运行wget https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz && tar xf gettext-0.19.8.1.tar.xz && ./configure && make -j && sudo make install && cd ..来实现这一点,但是由于/usr/bin/msgfmt: unrecognized option '--desktop'而失败了。因为msgfmt是由gettext提供的。
发布于 2017-06-30 22:32:34
做以下工作:
msgfmt二进制文件( sudo apt-get remove gettext ),并检查/usr/local或其他前缀中是否没有其他二进制代码gettext从源代码安装./configure && make && sudo make installhttps://askubuntu.com/questions/930845
复制相似问题