[Haskell-cafe] Problems with Stack on Gentoo Linux

Michael Orlitzky michael at orlitzky.com
Tue Oct 20 12:55:23 UTC 2015


On 10/20/2015 06:30 AM, Michael Snoyman wrote:
> Please see this issue on the Stack issue tracker:
> 
> https://github.com/commercialhaskell/stack/issues/793
> 
> The summary is:
> 
> * `export LANG=en_US.UTF-8` or equivalent
> * The next GHC release is already patched so that this won't be necessary
> 

The LANG variable is set by your locale choice on Gentoo. If the admin
is willing to mess with it,

  # eselect locale list

should output something like,

  Available targets for the LANG variable:
  [1]   C
  [2]   en_US
  [3]   en_US.iso88591
  [4]   en_US.utf8 *
  [5]   POSIX
  [ ]   (free form)

and then

  # eselect locale set 4

  Setting LANG to en_US.utf8 ...
  Run ". /etc/profile" to update the variable in your shell.

will set it globally.



More information about the Haskell-Cafe mailing list