Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2001:
[Freeciv-Dev] gettext 0.10.37
Home

[Freeciv-Dev] gettext 0.10.37

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] gettext 0.10.37
From: Thue <thue@xxxxxxx>
Date: Sat, 19 May 2001 23:26:58 +0200

I have a patch to use gettext 0.10.37 at
http://hjem.get2net.dk/thue_janus_kristensen/gettext.diff.bz2
It seems to work if you have gettext 0.10.37 installed.
The patch includes enough files that you should be able to do
  % make distclean && ./configure && make

Apart from a straightforward gettextize I had to remove the @INTLDEPS@ from 
server/Makefile.am and client/Makefile.am . gettext 0.10.35 exported 
@INTLDEPS@ when you used --with-included-gettext, but that seems not to be 
the case any more.

There were however a bug in gettext I had to fix to get it working - I had to 
change the line:
     [case " "$CONFIG_FILES" " in *" po/Makefile.in "* | *" po/Makefile.in:"*)
to
     [case "$CONFIG_FILES" in *po/Makefile.in* | *po/Makefile.in:*)
in aclocal.m4 . If you run aclocal and have an unchanged gettext 0.10.37 
installation a bad copy will be inserted into aclocak.m4 again.

Also, --with-included-gettext fails with this error:
---------------------
make[2]: Entering directory `/mnt/data/freeciv-dev/gettext7/intl'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DHAVE_CONFIG_H -I.. -I. -I../intl  -g -O2 -Wall  dcigettext.c
dcigettext.c:142: warning: static declaration for `mempcpy' follows non-static
dcigettext.c:1199: parse error before `__extension__'
dcigettext.c:1203: parse error before `{'
dcigettext.c:142: warning: `mempcpy' declared `static' but never defined
make[2]: *** [dcigettext.o] Error 1
make[2]: Leaving directory `/mnt/data/freeciv-dev/gettext7/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/freeciv-dev/gettext7'
make: *** [all-recursive-am] Error 2
bash-2.05$
---------------------
I looked a bit at it, and it occurs because HAVE_MEMPCPY is not defined, 
which it apperantly should be. If I kludge that away there seem to be more 
problems.
These problems doesn't seem to be something we should/could fix...?

It would be interesting to know if people on other systems could make 
--with-included-gettext work.

-Thue


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