Perl R9000 on Linux 6.12

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Author Message
kulica64
DD-WRT Novice


Joined: 13 Nov 2012
Posts: 11

PostPosted: Tue Dec 16, 2025 12:42    Post subject: Perl R9000 on Linux 6.12 Reply with quote
Code:
┌─[✓]─[root@RouterR9000:192.168.8.29]─[~]
└─perl -e
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = (unset),
   LC_ALL = (unset),
   LC_CTYPE = "C.UTF-8",
   LC_NUMERIC = (unset),
   LC_COLLATE = (unset),
   LC_TIME = (unset),
   LC_MESSAGES = (unset),
   LC_MONETARY = (unset),
   LC_ADDRESS = (unset),
   LC_IDENTIFICATION = (unset),
   LC_MEASUREMENT = (unset),
   LC_PAPER = (unset),
   LC_TELEPHONE = (unset),
   LC_NAME = (unset),
   LANG = "POSIX"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
No code specified for -e.


This started to happen after updating kernel to 6.12. Does anyone know how to solve this?
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16821
Location: Texas, USA

PostPosted: Tue Dec 16, 2025 16:41    Post subject: Reply with quote
Split out of Broadcom 63093 thread because the R9000 is considered Atheros.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ksenchy
DD-WRT Novice


Joined: 04 Jan 2015
Posts: 20

PostPosted: Tue Dec 16, 2025 19:00    Post subject: Reply with quote
Seems like the built in profile at /etc/profile has export LC_CTYPE=C.UTF-8, but is missing export LC_ALL=en_US.UTF-8

The correct would be:
Code:
export LC_CTYPE=C.UTF-8
export LC_ALL=en_US.UTF-8


Since the filesystem is read only you need to add the missing line to /tmp/root/.ashrc that is sourced by /etc/profile if it exists
You can go to Administration -> Commands and add this to startup as a workaround
Code:
echo "export LC_ALL=en_US.UTF-8" > /tmp/root/.ashrc
kulica64
DD-WRT Novice


Joined: 13 Nov 2012
Posts: 11

PostPosted: Wed Dec 17, 2025 6:07    Post subject: Reply with quote
ksenchy wrote:
Seems like the built in profile at /etc/profile has export LC_CTYPE=C.UTF-8, but is missing export LC_ALL=en_US.UTF-8

The correct would be:
Code:
export LC_CTYPE=C.UTF-8
export LC_ALL=en_US.UTF-8


Since the filesystem is read only you need to add the missing line to /tmp/root/.ashrc that is sourced by /etc/profile if it exists
You can go to Administration -> Commands and add this to startup as a workaround
Code:
echo "export LC_ALL=en_US.UTF-8" > /tmp/root/.ashrc

It works. Thanks!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum