From f21724afb9eb0ebd31446500e2181904058f70e1 Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Wed, 7 Jan 2015 10:36:14 -0800 Subject: [PATCH] Missing libmysqlclient-dev fixes 'EnvironmentError: mysql_config not found' error. Change-Id: I558c66a87fa89435c2d1942f584c810235df6f20 --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index c0777e2..2d74a19 100755 --- a/build.sh +++ b/build.sh @@ -30,6 +30,10 @@ PIPELINE_ENGINE=winchester if [[ "$PACKAGE" = true ]] then + # Ensure libmysqlclient-dev is installed on build machine. + # TODO(sandy): Support other distros. + dpkg -s libmysqlclient-dev 2>/dev/null >/dev/null \ + || sudo apt-get -y install libmysqlclient-dev SOURCE_DIR=$PKG_DIR rm -rf $PKG_DIR rm -rf $VENV_DIR