On Tue, Jun 17, 2014 at 12:34:25PM -0500, Benjamin Fritz wrote:

> On Tue, Jun 17, 2014 at 10:45 AM, Danek Duvall <[email protected]> wrote:
> > Ben Fritz wrote:
> >
> >> Thanks, that got me further. But the build still fails:
> >>
> >> OLD_PO_FILE_INPUT=yes gmsgfmt -v -o pl.mo pl.po
> >> headerfield `Language-Team' missing in header
> >> found 1 fatal errors
> >> *** Error code 1
> >> make: Fatal error: Command failed for target `pl.mo'
> >
> > No idea; that doesn't happen for me.  I'm using GNU gettext 0.16.1, FWIW.
> >
> 
> I can't tell what version of gettext I have, in /usr/bin/gettext,
> because it isn't respecting any of -v, --version, -h, or --help.

Right; that's the Solaris version.

> I do have GNU gettext 0.10.35 as "ggettext" but I don't see a way to
> override gettext like you showed me with msgfmt.

You don't need to, you just need to override msgfmt with gmsgfmt, which you
did.

I'm guessing that 0.10.35 is just too old, in which case you don't have any
good options, with the Solaris version unable to handle the corrupt Chinese
.po file and the GNU version unable to deal with the missing header in the
Polish ones.

You could either get a newer version of GNU gettext, edit the
Polish .po files to add the header (any value ought to do), or edit the
cp936 .po file to remove the bad bytes.

> So what did I cripple by using "--disable-nls"? Did that just remove
> the translations or something?

That's what it's intended to do, yeah.

Danek

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui