Jasper Frumau wrote:

> I keep on getting errors with Perl on my Dreamhost VPS Server (Debian
> Linux) Sample:
> 
> !309
> ~/bin/psmanager.pl <http://psmanager.pl> check
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>     LANGUAGE = (unset),
>     LC_ALL = (unset),
>     LC_COLLATE = "C",
>     LC_CTYPE = "UTF-8",
>     LANG = (unset)
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Check PsManager setup

[snip]

Try this:

`$ sudo apt-get update
 $ sudo apt-get install belocs-locales-bin belocs-locales-data

$ sudo vim /etc/locale.gen
# en_US ISO-8859-1
# en_US.ISO-8859-15 ISO-8859-15
# en_US.UTF-8 UTF-8
# en_ZA ISO-8859-1
# en_ZA.UTF-8 UTF-8`

find the locale you need & uncomment it

`$ sudo locale-gen
Generating locales...
en_US.UTF-8 (or whatever you choose)... done
Generation complete`

That should fix it. If it doesn't, try:

`$ sudo apt-get install locales
$  sudo dpkg-reconfigure locales`

& follow the on-screen instructions.

Cheers,

  Phil...

-- 
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

    Wm. Shakespeare - Much Ado About Nothing

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to