Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: Freeciv po file problems
Home

[Freeciv-Dev] Re: Freeciv po file problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Egbert Hinzen <egbert@xxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, Deutsche Freeciv Übersetzer <freeciv.de@xxxxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Freeciv po file problems
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Sun, 11 Aug 2002 13:00:33 +0200

On Sun, 11 Aug 2002, egbert@xxxxxxxxxxxxxxx wrote:
> On Sat, 10 Aug 2002, Gaute B Strokkenes wrote:
> 
>> I'm experimenting with Gettext 0.11.4 and Freeciv.  The biggest
>> problem is that most of the po files trigger additional warnings in
>> msgfmt, which then causes make to fail.  This is a serious problem:
>> people who have gettext 0.11 installed will have problems building
>> freeciv, regardless of whether we upgrade the version of libintl
>> bundled with Freeciv or not.
> 
> After reading your message I replaced my gettext version with the
> newest one (1.11.5). It runs without any problems, it likes the
> current de.po, and freeciv compiles OK. So: Where is your serious
> problem???

gs234@posleen:~/freeciv/po$ make
rm -f da.gmo && /usr/local/bin/msgfmt -c --statistics -o da.gmo da.po
da.po:10698: 'msgstr' is not a valid C format string, unlike 'msgid'
/usr/local/bin/msgfmt: found 1 fatal error
make: *** [da.gmo] Error 1
gs234@posleen:~/freeciv/po$ make de.gmo
rm -f de.gmo && /usr/local/bin/msgfmt -c --statistics -o de.gmo de.po
de.po:308: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:1306: 'msgstr' is not a valid C format string, unlike 'msgid'
de.po:4357: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:4362: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:4379: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:5297: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:5782: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:7899: 'msgstr' is not a valid C format string, unlike 'msgid'
de.po:7927: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:10432: number of format specifications in 'msgid' and 'msgstr' does not 
match
de.po:10437: number of format specifications in 'msgid' and 'msgstr' does not 
match
/usr/local/bin/msgfmt: found 11 fatal errors
make: *** [de.gmo] Error 1
gs234@posleen:~/freeciv/po$ which msgfmt
/usr/local/bin/msgfmt
gs234@posleen:~/freeciv/po$ msgfmt --version
msgfmt (GNU gettext) 0.11.4
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.

This is with the automake and autoconf magic installed by Automake 1.5
and gettext 0.11.4, though.  Does the in-tree version run msgfmt with
different options?  Can you verify that the correct version of msgfmt
is invoked by the Makefile?

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
I know how to do SPECIAL EFFECTS!!


[Prev in Thread] Current Thread [Next in Thread]