file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/gmsgfmt -o $file zh_CN.po
file=`echo zh_TW | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/gmsgfmt -o $file zh_TW.po
INTLTOOL_EXTRACT=../intltool-extract srcdir=. ../intltool-update --gettext-package shared-mime-info --pot
WARNING: This version of gettext does not support extracting non-ASCII
strings. That means you should install a version of gettext
that supports non-ASCII strings (such as GNU gettext >= 0.12),
or have to let non-ASCII strings untranslated. (If there is any)
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
ERROR: xgettext failed to generate PO template file. Please consult
error message above if there is any.
make[1]: *** [shared-mime-info.pot] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/x11-misc/shared-mime-info-0.20/work/shared-mime-info-0.20/po »
make: *** [check-recursive] Erreur 1
*
* ERROR: x11-misc/shared-mime-info-0.20 failed.
* Call stack:
* ebuild.sh, line 1642: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* shared-mime-info-0.20.ebuild, line 25: Called die
*
* emake failed.
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.20/temp/build.log'.
*