Commit 6272e890 by Slater-Victoroff

Down to node errors on Ubuntu

parent 6f1f0e11
python-software-properties python-software-properties
pkg-config pkg-config
gfortran
libatlas-dev
libblas-dev
liblapack-dev
liblapack3gf
curl curl
git git
python-virtualenv python-virtualenv
...@@ -8,7 +13,6 @@ python-numpy ...@@ -8,7 +13,6 @@ python-numpy
build-essential build-essential
python-dev python-dev
gfortran gfortran
liblapack-dev
libfreetype6-dev libfreetype6-dev
libpng12-dev libpng12-dev
libjpeg-dev libjpeg-dev
...@@ -17,7 +21,6 @@ libxslt-dev ...@@ -17,7 +21,6 @@ libxslt-dev
yui-compressor yui-compressor
graphviz graphviz
libgraphviz-dev libgraphviz-dev
libgraphviz4
graphviz-dev graphviz-dev
mysql-server mysql-server
libmysqlclient-dev libmysqlclient-dev
......
...@@ -227,7 +227,7 @@ case `uname -s` in ...@@ -227,7 +227,7 @@ case `uname -s` in
distro=`lsb_release -cs` distro=`lsb_release -cs`
case $distro in case $distro in
wheezy|jessie|maya|olivia|nadia|natty|precise|quantal|raring) wheezy|jessie|maya|olivia|nadia|precise|quantal|raring)
sudo apt-get install git ;; sudo apt-get install git ;;
squeeze|lisa|katya|oneiric|natty) squeeze|lisa|katya|oneiric|natty)
warning "It seems like you're using $distro which has been deprecated. warning "It seems like you're using $distro which has been deprecated.
...@@ -312,7 +312,22 @@ if [ "$HOME/.rvm" != $RUBY_DIR ]; then ...@@ -312,7 +312,22 @@ if [ "$HOME/.rvm" != $RUBY_DIR ]; then
fi fi
fi fi
curl -sL get.rvm.io | bash -s -- --version 1.15.7 # rvm has issues in debian family, this is taken from stack overflow
case `uname -s` in
Darwin)
curl -sL get.rvm.io | bash -s -- --version 1.15.7
;;
squeeze|wheezy|jessie|maya|lisa|olivia|nadia|natty|oneiric|precise|quantal|raring)
warning "Setting up rvm on linux. This is a known pain point. If the script fails here
refer to the following stack overflow question:
http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395"
sudo apt-get --purge remove ruby-rvm
sudo rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh
curl -sL https://get.rvm.io | bash -s stable --ruby --autolibs=enable --autodotfiles
;;
esac
# Ensure we have RVM available as a shell function so that it can mess # Ensure we have RVM available as a shell function so that it can mess
# with the environment and set everything up properly. The RVM install # with the environment and set everything up properly. The RVM install
...@@ -410,25 +425,25 @@ fi ...@@ -410,25 +425,25 @@ fi
# compile numpy and scipy if requested # compile numpy and scipy if requested
# NUMPY_VER="1.6.2" NUMPY_VER="1.6.2"
# SCIPY_VER="0.10.1" SCIPY_VER="0.10.1"
# if [[ -n $compile ]]; then if [[ -n $compile ]]; then
# output "Downloading numpy and scipy" output "Downloading numpy and scipy"
# curl -sL -o numpy.tar.gz http://downloads.sourceforge.net/project/numpy/NumPy/${NUMPY_VER}/numpy-${NUMPY_VER}.tar.gz curl -sL -o numpy.tar.gz http://downloads.sourceforge.net/project/numpy/NumPy/${NUMPY_VER}/numpy-${NUMPY_VER}.tar.gz
# #curl -sL -o scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/${SCIPY_VER}/scipy-${SCIPY_VER}.tar.gz #curl -sL -o scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/${SCIPY_VER}/scipy-${SCIPY_VER}.tar.gz
# tar xf numpy.tar.gz tar xf numpy.tar.gz
# #tar xf scipy.tar.gz #tar xf scipy.tar.gz
# rm -f numpy.tar.gz #scipy.tar.gz rm -f numpy.tar.gz #scipy.tar.gz
# output "Compiling numpy" output "Compiling numpy"
# cd "$BASE/numpy-${NUMPY_VER}" cd "$BASE/numpy-${NUMPY_VER}"
# python setup.py install python setup.py install
# #output "Compiling scipy" #output "Compiling scipy"
# #cd "$BASE/scipy-${SCIPY_VER}" #cd "$BASE/scipy-${SCIPY_VER}"
# #python setup.py install #python setup.py install
# cd "$BASE" cd "$BASE"
# rm -rf numpy-${NUMPY_VER} #scipy-${SCIPY_VER} rm -rf numpy-${NUMPY_VER} #scipy-${SCIPY_VER}
# fi fi
# building correct version of distribute from source # building correct version of distribute from source
DISTRIBUTE_VER="0.6.28" DISTRIBUTE_VER="0.6.28"
......
...@@ -41,7 +41,9 @@ case `uname -s` in ...@@ -41,7 +41,9 @@ case `uname -s` in
# add repositories # add repositories
cat $APT_REPOS_FILE | xargs -n 1 sudo add-apt-repository -y cat $APT_REPOS_FILE | xargs -n 1 sudo add-apt-repository -y
sudo apt-get -y update sudo apt-get -y update
sudo apt-get -y install gfortran
sudo apt-get -y install graphviz libgraphviz-dev graphviz-dev
sudo apt-get -y install libatlas-dev libblas-dev
# install packages listed in APT_PKGS_FILE # install packages listed in APT_PKGS_FILE
cat $APT_PKGS_FILE | xargs sudo apt-get -y install cat $APT_PKGS_FILE | xargs sudo apt-get -y install
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment