[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (
From: |
alphons |
Subject: |
Re: Re: msgfmt: Cannot convert from "ASCII" to "UTF-8" on gettext-22.0 (gettext-21.1 no problem) |
Date: |
Thu, 21 Sep 2023 18:56:03 +0200 |
Hi Bruno, thanks for your reply.
Bruno wrote:
>Btw, the current version is 0.22.2.
Check. I have updated source code to latest 0.22.2 , but the error is not
solved.
>All GNU packages support "make install". If you copy selected
True, but that is not the cause of the error.
When building a system from scratch, this is an in-between-step in a chrooted
environment.
https://www.linuxfromscratch.org/lfs/view/stable/chapter07/gettext.html
After compiling more and more programs, the real gettext building instructions
are listed here.
https://www.linuxfromscratch.org/lfs/view/stable/chapter08/gettext.html
There you have your real install ;-)
>> 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.
Aaaaaaah, that makes sense ..... !!!NOT!!! :( :( :(
The used glibc-2.38 (of the host system) is compiled default, and supports
iconv (how to disable iconv on glibc compiling anyways ???)
As a comparison i demonstrated exact same system having same glibc, using
gettext-0.21.1 and that works fine, no errors when 'make install' a new glibc,
or gcc.
To clarify a bit, the new glibc is NOT installed on the live host system, so
there is no interference.
There must be something changed after release gettext-0.21.1
Why does msgfmt from gettext-0.21.1' on the same glibc have no problem
converting ASCII to UTF-8 and gettext-0.22.x errors out ?
I hope i get this solved, any help appreciated.
thanks
-Alphons.