Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12560) CVS: multi-automake undetected; 1 empty msgid i
Home

[Freeciv-Dev] (PR#12560) CVS: multi-automake undetected; 1 empty msgid i

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12560) CVS: multi-automake undetected; 1 empty msgid in code; 2 more "Game:"s
From: "sini.ruohomaa@xxxxxx" <sini.ruohomaa@xxxxxx>
Date: Sun, 20 Mar 2005 03:11:11 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12560 >

Hi,

The autogen.sh script feels slightly inflexible. I was forced to remove
automake 1.4 from my machine before the autogen.sh script would
acknowledge I've also installed 1.6 and 1.8 - they're called
automake-1.6 and automake-1.8. I would then need to explicitly tell it
to try other GUIs since the default one failed and rerun the entire
start of configuration - my goal, as it stands, wasn't to compile all of
Freeciv but simply merge a po-file from the stable beta branch to the
head (and I wasn't sure how to do it in another way). 

As a minor bonus, I stumbled into an empty msgstr in
client/messagewin_common.c:113; as in a translateable string of "" -
reserved for po file general information. There also seems to be two
more strings with the widely removed "Game:" prefix.

Further info in order of appearance:

# ./autogen.sh
+ checking for autoconf >= 2.52 ... found 2.59, ok.
+ checking for automake >= 1.6 ... found 1.4-p6, not ok !

You must have automake 1.6 or greater to compile freeciv.
Get the latest version from <ftp://ftp.gnu.org/pub/gnu/automake/>.

+ checking for xgettext >= 0.10.36 ... found 0.14.1, ok.
+ checking for msgfmt >= 0.10.36 ... found 0.14.1, ok.

# <some apt-cache searching, seems Debian has the virtual package
'automake' pointing only to automake1.4 for some reason too...>
# apt-get install automake1.6 automake1.8

# ./autogen.sh
+ checking for autoconf >= 2.52 ... found 2.59, ok.
+ checking for automake >= 1.6 ... found 1.4-p6, not ok !

You must have automake 1.6 or greater to compile freeciv.
Get the latest version from <ftp://ftp.gnu.org/pub/gnu/automake/>.

+ checking for xgettext >= 0.10.36 ... found 0.14.1, ok.
+ checking for msgfmt >= 0.10.36 ... found 0.14.1, ok.

# apt-get remove automake1.4

# ./autogen.sh
+ checking for autoconf >= 2.52 ... found 2.59, ok.
+ checking for automake >= 1.6 ... found 1.8.5, ok.
+ checking for xgettext >= 0.10.36 ... found 0.14.1, ok.
+ checking for msgfmt >= 0.10.36 ... found 0.14.1, ok.
...

Also, since configure hits the first GUI option (which failed since my
devel libraries aren't up to par) and then ignores the rest, I would
need to explicitly enable everything just in order to manage to
make .pox files, unless I want to go through another package
search-and-install experiment. It turns out that --enable-client=xaw
finally worked, and I got through the configuration bit.

--enable-client=any would be nice, and all the better if configure a)
guessed what to compile from "avoid totally failing" and/or b) asked if
I prefer to try the others since the first one failed, so that people
who Really Want the default gtk+ would be able to concentrate on the
error messages as well. It just seems a bit funny to get:

checking for GTK+ - version >= 2.4.0... no
<explanations, probably your GTK+ is incorrectly installed (not
installed at all right now, actually, but who's counting)>
configure: WARNING: Not checking for GTK; use --enable-client=gtk to
enable
configure: WARNING: Not checking for SDL; use --enable-client=sdl to
enable
checking whether Xfuncproto was supplied... no, found:  FUNCPROTO=15
NARROWPROTOconfigure: WARNING: Not checking for XAW; use
--enable-client=xaw to enable
configure: error: could not guess which client to compile


Finally, when running make fi.pox, I get a non-fatal error:

client/messagewin_common.c:113: warning: Empty msgid.  It is reserved by
GNU gettext:
                                         gettext("") returns the header
entry with
                                         meta information, not the empty
string.

But I got my merged file eventually, at least - only with some 450
fuzzies and 91 untranslated (when merged with a 0 fuzzy 3 untranslated
stable branch po file, that is)... I do hope most of them come from the
Game: removals. :) 

There's two left which don't have it removed for some reason, btw:

#: server/unittools.c:3132
#, fuzzy, c-format
msgid "Game: Orders for %s aborted because building of city failed."

#: client/gui-gtk/plrdlg.c:572
msgid "Game: You need an embassy to establish a diplomatic meeting."

Cheers,

--Sini, incompatible translator





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12560) CVS: multi-automake undetected; 1 empty msgid in code; 2 more "Game:"s, sini.ruohomaa@xxxxxx <=