Page 1 of 1

locale error while configuring

Posted: 11 Nov 2024 07:00
by abhiudaysurya
anonymous@amnesia:~/vlc$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

OS: WSL Ubuntu

this is the output of the locale command. i guess my locale is utf8. why am i still getting this error: configure: error: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual

Previously i compiled an old version of vlc which " ./configured"correctly. But there were errors while compiling. In the fr.po file

Re: locale error while configuring

Posted: 11 Nov 2024 08:13
by abhiudaysurya
i solved it myself
i just downgraded the Qt version from 6.8.0 to 6.2.13

Re: locale error while configuring

Posted: 11 Nov 2024 11:38
by RĂ©mi Denis-Courmont
That looks like a bug in the version of Qt shipped by your distro.

Re: locale error while configuring

Posted: 11 Nov 2024 19:00
by abhiudaysurya
i installed Qt through the Qt online installer not the package manager.
i did install it through the package manager first but i got the same error, then i installed Qt through the official installer, also the maintenance tool made it a lot easier to downgrade.