aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/cannot_change_locale___40__en__95__US.UTF-8__41__/comment_3_b5a78d805e2e1628de299115a0a96e8d._comment
blob: 59bf4d0671bead877da3a53b435f4700b859b8ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!comment format=mdwn
 username="joey"
 subject="""comment 3"""
 date="2015-09-21T16:02:24Z"
 content="""
So, I actually see something a little similar when using runshell 
in the standalone bundle:

	joey@darkstar:~/tmp/a/git-annex.linux>./runshell 
	$ bash
	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

This is due to it setting LOCPATH=/dev/null,
so it won't even try to use the system's locale files. 
(Whether they would be compatable with the libc in the bundle is another question.)

So, `unset LOCPATH` may work around the problem. If you don't run into
the bug that is set to prevent, <https://ghc.haskell.org/trac/ghc/ticket/7695>.

This setting could be revisited once the standalone builds are built using
ghc 7.10, which fixed that bug.
"""]]