Subject: Re: msgfmt problems
To: Jeremy C. Reed <reed@reedmedia.net>
From: Ben Collver <collver1@comcast.net>
List: tech-pkg
Date: 03/30/2004 14:44:52
Hi Jeremy,

I ran into this and worked around it in lynx.  My understanding is that
GNU gettext <11 expects \\foo
GNU gettext >=11 expects \foo

http://mail-index.netbsd.org/pkgsrc-changes/2004/03/11/0153.html

Hope this helps,

Ben

On Tue, Mar 30, 2004 at 02:33:06PM -0800, Jeremy C. Reed wrote:
> Under NetBSD 1.6.x I had these problems:
> 
> sysutils/gnome-vfs:
> 
> /usr/bin/msgfmt -o zh_TW.mo zh_TW.po
> zh_TW.po:172: illegal control sequence
> found 1 fatal errors
> gmake[2]: *** [zh_TW.mo] Error 1
> gmake[2]: Leaving directory
> `/usr/pkg/tmp/pkgsrc/sysutils/gnome-vfs/work.rainier
> /gnome-vfs-1.0.5/po'
> 
> 
> devel/bonobo:
> 
> /usr/bin/msgfmt -o zh_TW.mo zh_TW.po
> zh_TW.po:123: illegal control sequence
> zh_TW.po:147: illegal control sequence
> zh_TW.po:533: illegal control sequence
> found 3 fatal errors
> 
> 
> math/gnumeric:
> 
> /usr/bin/msgfmt -o zh_TW.mo zh_TW.po
> zh_TW.po:2642: illegal control sequence
> zh_TW.po:3840: illegal control sequence
> zh_TW.po:3947: illegal control sequence
> zh_TW.po:4047: illegal control sequence
> zh_TW.po:5100: illegal control sequence
> zh_TW.po:8634: illegal control sequence
> zh_TW.po:9511: illegal control sequence
> zh_TW.po:16293: illegal control sequence
> zh_TW.po:16305: illegal control sequence
> found 9 fatal errors
> gmake[2]: *** [zh_TW.mo] Error 1
> 
> 
> All these had a po/Makefile.in with:
> 
> GMSGFMT = @GMSGFMT@
> MSGFMT = @MSGFMT@
> XGETTEXT = @XGETTEXT@
> 
> I manually made these use /usr/pkg/bin/ versions (as installed from
> wip/gettext-* packages).
> 
> The versions from GNU gettext 0.10.35 from the NetBSD are not good enough
> for me.
> 
> Does anyone else have these issues under NetBSD?