kdlucas / byte-unixbench

Automatically exported from code.google.com/p/byte-unixbench
GNU General Public License v2.0
1.26k stars 320 forks source link

Can not run 2d test because of "language" #66

Open MarkJeronimus opened 4 years ago

MarkJeronimus commented 4 years ago

On this particular embedded computer with ARM processor and outdated Debian (Lilliput PC-701), all default tests run. But when selecting a 2D test, after letting it complete it's graphical show, it quits with:

Run: "2D graphics: aa polygons": perl: warning: Setting locale failed. perl: warning Please that your locale settings: LANGUAGE=en_US.UTF-8, LC_ALL=en_US.UTF-8, LANG=en_US.UTF-8 are all supported and installed on your system. perl: warning: falling back to the standard locale ("C").; aborting

After sudo apt install locales (which I didn't have) and running locale-gen en_US.UTF-8, it still fails in the same way.

843723683 commented 4 years ago

On this particular embedded computer with ARM processor and outdated Debian (Lilliput PC-701), all default tests run. But when selecting a 2D test, after letting it complete it's graphical show, it quits with:

Run: "2D graphics: aa polygons": perl: warning: Setting locale failed. perl: warning Please that your locale settings: LANGUAGE=en_US.UTF-8, LC_ALL=en_US.UTF-8, LANG=en_US.UTF-8 are all supported and installed on your system. perl: warning: falling back to the standard locale ("C").; aborting

After sudo apt install locales (which I didn't have) and running locale-gen en_US.UTF-8, it still fails in the same way.

Hi What is the command you run?

MarkJeronimus commented 4 years ago

Turns out uxterm had the same issue (i used xterm before).

I had to edit /etc/locale.gen and uncomment the line with en_US.UTF-8 in it, and run locale-gen. Then it worked.

It's still weird why a graphical test relies on a locale. Anyway to solve that?