[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (gett
From: |
Bruno Haible |
Subject: |
Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (gettext-21.1 no problem) |
Date: |
Thu, 21 Sep 2023 15:49:11 +0200 |
Hi,
alphons@heijden.com wrote:
> msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (gettext-21.1
> no problem)
You probably mean version 0.22, not 22.0 ?
Btw, the current version is 0.22.2.
> Condensed compiling instructions gettext-21.1 and gettext-22.0
> (linuxfromscratch)
> ======================================================
> ./configure --prefix=/usr --disable-shared
> make
> cp -v gettext-tools/src/{msgfmt,msgmerge,xgettext} /usr/bin
All GNU packages support "make install". If you copy selected
binaries:
- some functionality of these programs will be missing,
- other important programs, such as msgunfmt and msgcat, will be missing.
- info-format documentation will be missing.
- man pages will be missing.
Additionally, if you use 'cp' (instead of 'install') to copy binaries:
- processes that are currently executing these binaries will crash.
> msgfmt -o /sources/glibc-2.38/build/po/en_GB.mo en_GB.po
> msgfmt: Cannot convert from "ASCII" to "UTF-8". msgfmt relies on iconv().
> This version was built without iconv().
The error message is clear: The libc does not support iconv().
If installed properly, glibc supports iconv(), of course.
Thus, it must be a glibc installation problem on your side.
Bruno