diff --git a/.travis/install-dependencies.sh b/.travis/install-dependencies.sh index ac2ac879a..69138373e 100755 --- a/.travis/install-dependencies.sh +++ b/.travis/install-dependencies.sh @@ -19,7 +19,7 @@ fi if [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "linux" ]]; then sudo apt-get update - sudo apt-get install -y cmake pkg-config build-essential autoconf curl libtool python-dev python-numpy python-pip libboost-all-dev unzip + sudo apt-get install -y cmake pkg-config build-essential autoconf curl libtool python-dev python-numpy python-pip libboost-dev libboost-filesystem-dev libboost-system-dev unzip # Install miniconda. wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p $HOME/miniconda @@ -27,7 +27,7 @@ if [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "linux" ]]; then pip install numpy cloudpickle cython cmake funcsigs click colorama psutil redis tensorflow flatbuffers elif [[ "$PYTHON" == "3.5" ]] && [[ "$platform" == "linux" ]]; then sudo apt-get update - sudo apt-get install -y cmake pkg-config python-dev python-numpy build-essential autoconf curl libtool libboost-all-dev unzip + sudo apt-get install -y cmake pkg-config python-dev python-numpy build-essential autoconf curl libtool libboost-dev libboost-filesystem-dev libboost-system-dev unzip # Install miniconda. wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p $HOME/miniconda @@ -67,7 +67,7 @@ elif [[ "$PYTHON" == "3.5" ]] && [[ "$platform" == "macosx" ]]; then pip install numpy cloudpickle cython cmake funcsigs click colorama psutil redis tensorflow flatbuffers elif [[ "$LINT" == "1" ]]; then sudo apt-get update - sudo apt-get install -y cmake build-essential autoconf curl libtool libboost-all-dev unzip + sudo apt-get install -y cmake build-essential autoconf curl libtool libboost-dev libboost-filesystem-dev libboost-system-dev unzip # Install miniconda. wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p $HOME/miniconda diff --git a/doc/source/install-on-ubuntu.rst b/doc/source/install-on-ubuntu.rst index 8579ac690..f5269dce0 100644 --- a/doc/source/install-on-ubuntu.rst +++ b/doc/source/install-on-ubuntu.rst @@ -26,7 +26,7 @@ To build Ray, first install the following dependencies. We recommend using .. code-block:: bash sudo apt-get update - sudo apt-get install -y cmake pkg-config build-essential autoconf curl libtool libboost-all-dev unzip + sudo apt-get install -y cmake pkg-config build-essential autoconf curl libtool libboost-dev libboost-filesystem-dev libboost-system-dev unzip # If you are not using Anaconda, you need the following. sudo apt-get install python-dev # For Python 2. diff --git a/docker/base-deps/Dockerfile b/docker/base-deps/Dockerfile index 7ddb94f33..4cac62c62 100644 --- a/docker/base-deps/Dockerfile +++ b/docker/base-deps/Dockerfile @@ -4,7 +4,7 @@ FROM ubuntu:xenial RUN apt-get update \ && apt-get install -y vim git wget \ - && apt-get install -y cmake pkg-config build-essential autoconf curl libtool libboost-all-dev unzip + && apt-get install -y cmake pkg-config build-essential autoconf curl libtool libboost-dev libboost-filesystem-dev libboost-system-dev unzip RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh \ && wget --quiet 'https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh' -O /tmp/anaconda.sh \ && /bin/bash /tmp/anaconda.sh -b -p /opt/conda \