Fix locale settings in perl

Posted on


Jika anda menemui warning yang sama berkaitan dengan locale settings in perl, mudah2an cara ini bisa jadi probelm solvingnya.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_ID:en_US:en_GB:en”,
LC_ALL = (unset),
LANG = “en_US”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Caranya, Login sebagai root, kemudian install localeconf kemudian reconfigure ulang localeconfnya.

#apt-get install localeconf
#dpkg-reconfigure locales

Mudah-mudahan warning itu tidak akan muncul kembali.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s