From 1b9147d7db08a94dd00532bc611ac322c8ed3e57 Mon Sep 17 00:00:00 2001 From: Christopher Gilbert Date: Tue, 30 Aug 2016 12:29:37 +0100 Subject: Fixed a bug causing solc to crash on startup due to invalid environment settings for locale --- scripts/install_deps.sh | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'scripts/install_deps.sh') diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 4fb948ed..a67fea82 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -98,7 +98,7 @@ case $(uname -s) in brew update brew upgrade - + brew install boost brew install cmake brew install jsoncpp @@ -127,14 +127,14 @@ case $(uname -s) in #------------------------------------------------------------------------------ # Linux #------------------------------------------------------------------------------ - + Linux) case $(detect_linux_distro) in #------------------------------------------------------------------------------ # Arch Linux #------------------------------------------------------------------------------ - + Arch) #Arch echo "Installing solidity dependencies on Arch Linux." @@ -143,7 +143,7 @@ case $(uname -s) in # See https://wiki.archlinux.org/index.php/Official_repositories sudo pacman -Sy \ base-devel \ - boost \ + boost \ cmake \ git \ ;; @@ -158,7 +158,7 @@ case $(uname -s) in # All our dependencies can be found in the Alpine Linux official repositories. # See https://pkgs.alpinelinux.org/ - + apk update apk add boost-dev build-base cmake jsoncpp-dev @@ -231,7 +231,7 @@ case $(uname -s) in # Install "normal packages" # See https://fedoraproject.org/wiki/Package_management_system. dnf install \ - autoconf \ + autoconf \ automake \ boost-devel \ cmake \ @@ -326,16 +326,6 @@ case $(uname -s) in sudo apt-get -y update sudo apt-get -y install eth - # And install the English language package and reconfigure the locales. - # We really shouldn't need to do this, and should instead force our locales to "C" - # within our application runtimes, because this issue shows up on multiple Linux distros, - # and each will need fixing in the install steps, where we should really just fix it once - # in the code. - # - # See https://github.com/ethereum/webthree-umbrella/issues/169 - sudo apt-get -y install language-pack-en-base - sudo dpkg-reconfigure locales - ;; *) -- cgit