set unicode locale when building
some packages, particularly unix-compat, fail to install in a C locale. wow
This commit is contained in:
parent
6052486dc3
commit
8abaafaf6d
2 changed files with 7 additions and 0 deletions
standalone/android
|
@ -19,6 +19,9 @@ apt-get -y install ca-certificates curl file m4 autoconf zlib1g-dev
|
||||||
apt-get -y install libgnutls-dev libxml2-dev libgsasl7-dev pkg-config c2hs
|
apt-get -y install libgnutls-dev libxml2-dev libgsasl7-dev pkg-config c2hs
|
||||||
apt-get -y install ant default-jdk rsync wget gnupg lsof
|
apt-get -y install ant default-jdk rsync wget gnupg lsof
|
||||||
apt-get -y install gettext unzip python
|
apt-get -y install gettext unzip python
|
||||||
|
apt-get -y install locales
|
||||||
|
echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
|
||||||
|
locale-gen
|
||||||
apt-get clean
|
apt-get clean
|
||||||
wget http://snapshot.debian.org/archive/debian/20130903T155330Z/pool/main/a/automake-1.14/automake_1.14-1_all.deb
|
wget http://snapshot.debian.org/archive/debian/20130903T155330Z/pool/main/a/automake-1.14/automake_1.14-1_all.deb
|
||||||
dpkg -i automake*.deb
|
dpkg -i automake*.deb
|
||||||
|
|
|
@ -27,6 +27,10 @@ setupcabal () {
|
||||||
# should be able to remove this eventually.
|
# should be able to remove this eventually.
|
||||||
cabal install transformers-compat -fthree
|
cabal install transformers-compat -fthree
|
||||||
cabal install mtl-2.1.3.1
|
cabal install mtl-2.1.3.1
|
||||||
|
|
||||||
|
# Some packages fail to install in a non unicode locale.
|
||||||
|
LANG=en_US.UTF-8
|
||||||
|
export LANG
|
||||||
}
|
}
|
||||||
|
|
||||||
cabalinstall () {
|
cabalinstall () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue