other/2857: i18n, translations does not work

Dennis Bjorklund db@zigo.dhs.org
Wed May 23 00:53:00 GMT 2001


On Wed, 23 May 2001, Mark Mitchell wrote:

> >>>>> "Dennis" == Dennis Bjorklund <db@zigo.dhs.org> writes:
>
>     Dennis> What about the pot file? I don't think it should be in cvs
>     Dennis> at all. It should be automatically generated.
>
> I would very much prefer that *no* generated files be in CVS, but I
> don't understand internationalization at all. :-)  If the pot file can
> be generated, I agree that we shouldn't have it in CVS.

In most (maybe all) other projects i've seen it is generated
automatically.

There is a strange thing in the Makefile. xgettext is called with the flag
--defines which does not exist. I just got the latest cvs of gettext and
it does not exist there either. So make update-po in the po directory does
not work.

When I remove the --defines (and use lates cvs gettext) it works, but the
gcc.pot file is smaller then the one that is in cvs 70k smaller. But the
cvs version is like a year old so maybe it's correct anyway? Or maybe
there are strings missing.

I rememeber that I talked with someone (most probably Philipp Thomas)
about it in november and I got the impression that it was going to be
fixed by then and that it was something that he had in his version of
gettext. I'm not sure, but i'll cc Philipp and maybe he remeber.

I tried to compile the cvs version of gcc with the same flags as I used
some months ago, but now it does not work.  I want to get a version up and
running so I can start on the translation.

The flags I used was:

./configure --prefix=/opt/gcc --enable-nls --disable-checking
--enable-threads --host=i386-pc-linux-gnu

and after a long time it stops at:

Configuring in i386-pc-linux-gnu/boehm-gc
AmigaOS.c		..linked
BCC_MAKEFILE		..linked
<deleted>
version.h		..linked
win32_threads.c		..linked
loading cache ../config.cache
configure: error: can not find install-sh or install.sh in .. ./..
make: *** [configure-target-boehm-gc] Error 1


I can probably fix it myself but if you know about this problem directly
it would be nice. I don't even have a clue about what boehm is..

-- 
/Dennis



More information about the Gcc-bugs mailing list