summaryrefslogtreecommitdiff
path: root/install_dependencies.sh
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-01-29 19:56:41 +0000
committerJavier Jardón <jjardon@gnome.org>2017-01-30 00:01:43 +0000
commitff4cdf45503c9b27b84f0c5d4dfaf48004451f70 (patch)
tree3072f5748a8dcf74312979228a46afe97f1cc1af /install_dependencies.sh
parent849923031a8092a19ed9c9bd774a418b9be9575d (diff)
downloadybd-ff4cdf45503c9b27b84f0c5d4dfaf48004451f70.tar.gz
install_dependencies.sh: python headers are needed to compile some python packages
Diffstat (limited to 'install_dependencies.sh')
-rwxr-xr-xinstall_dependencies.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install_dependencies.sh b/install_dependencies.sh
index 34fbe3d..68ffc58 100755
--- a/install_dependencies.sh
+++ b/install_dependencies.sh
@@ -32,7 +32,7 @@ installed=false
command -v apt-get >/dev/null 2>&1
if [ $? -eq 0 ]; then
$SUDO apt-get -qq update
- $SUDO apt-get -qq install build-essential gawk git m4 wget python python-pip git
+ $SUDO apt-get -qq install build-essential gawk git m4 wget python python-dev python-pip git
if [ $? -ne 0 ]; then
echo "Install failed"
exit 1
@@ -43,7 +43,7 @@ fi
# install for fedora
command -v dnf >/dev/null 2>&1
if [ $? -eq 0 ] && [ $installed = false ]; then
- $SUDO dnf install -y which make automake gcc gcc-c++ gawk git m4 wget python python-pip git redhat-rpm-config
+ $SUDO dnf install -y which make automake gcc gcc-c++ gawk git m4 wget python python-devel python-pip git redhat-rpm-config
if [ $? -ne 0 ]; then
echo "Install failed"
exit 1
@@ -54,7 +54,7 @@ fi
# install for aws
command -v yum >/dev/null 2>&1
if [ $? -eq 0 ] && [ $installed = false ]; then
- $SUDO yum install -y which make automake gcc gcc-c++ gawk git m4 wget python python-pip git
+ $SUDO yum install -y which make automake gcc gcc-c++ gawk git m4 wget python python-devel python-pip git
if [ $? -ne 0 ]; then
echo "Install failed"
exit 1