I get the following errors when trying to build shared-mime-info: file=`echo zh_CN | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/pkgsrc/databases/shared-mime-info/work/.tools/bin/msgfmt -o $file zh_CN.po file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/pkgsrc/databases/shared-mime-info/work/.tools/bin/msgfmt -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) xgettext: unrecognized option `--flag=g_strdup_printf:1:c-format' Try `xgettext --help' for more information. ERROR: xgettext failed to generate PO template file. Please consult error message above if there is any. gmake[1]: *** [shared-mime-info.pot] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/databases/shared-mime-info/work/shared-mime-info-0.19/po' gmake: *** [check-recursive] Error 1 *** Error code 2 Stop. make: stopped in /usr/pkgsrc/databases/shared-mime-info *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/shared-mime-info I see that devel/gettext-lib is listed as a dependency in the Makefile, but it doesn't look like it's getting pulled in: ===> Installing dependencies for shared-mime-info-0.19 => Build dependency libtool-base>=1.5.18nb5: libtool-base-1.5.24nb5 found => Build dependency intltool>=0.35: intltool-0.36.2 found => Build dependency gmake>=3.78: gmake-3.81 found => Build dependency perl>=5.0: perl-5.8.8nb4 found => Build dependency pkg-config>=0.19: pkg-config-0.21nb1 found => Full dependency glib2>=2.8.6nb1: glib2-2.14.1 found => Full dependency libxml2>=2.6.23nb1: libxml2-2.6.30 found This is on NetBSD/i386 3.1 using pkgsrc-2007Q3. - Dave V.
Attachment:
pgpxsLnCjV7vp.pgp
Description: PGP signature