From 21a9f60b03675404aca74ce4d71a86cf584b71c4 Mon Sep 17 00:00:00 2001 From: Simeon Monov Date: Fri, 26 Aug 2016 15:42:59 +0200 Subject: [PATCH] Fix missing dependency in refstack-client Added libyaml to the dependencies. It is needed by PyYAML to optimize the yaml parsing. It is much faster then the pure Python implementation. Change-Id: I8b3f3861b2d3ec1db2d1404b7fafedfaf27c5420 --- setup_env | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup_env b/setup_env index 481b168..5067f78 100755 --- a/setup_env +++ b/setup_env @@ -103,13 +103,13 @@ cd ${WORKDIR} # Setup binary requirements if [ -n "$(command -v apt-get)" ]; then # For apt-get-based Linux distributions (Ubuntu, Debian) - sudo apt-get -y install curl wget tar unzip python-dev build-essential libssl-dev libxslt-dev libsasl2-dev libffi-dev libbz2-dev + sudo apt-get -y install curl wget tar unzip python-dev build-essential libssl-dev libxslt-dev libsasl2-dev libffi-dev libbz2-dev libyaml-dev elif [ -n "$(command -v yum)" ]; then # For yum-based distributions (RHEL, Centos) - sudo yum -y install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel bzip2-devel libxslt-devel openssl-devel + sudo yum -y install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel bzip2-devel libxslt-devel openssl-devel libyaml-devel elif [ -n "$(command) -v zypper" ]; then # For zypper-based distributions (openSuSe, SELS) - sudo zypper --non-interactive install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel zlib-devel libxslt-devel libopenssl-devel python-xml + sudo zypper --non-interactive install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel zlib-devel libxslt-devel libopenssl-devel python-xml libyaml-devel else echo "Neither apt-get, nor yum, nor zypper found." exit 1