summaryrefslogtreecommitdiff
path: root/setup-libraries.sh
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-05-28 18:15:44 -0700
committerDane Springmeyer <dane@mapbox.com>2014-05-28 18:15:44 -0700
commit3e26b899bda5f2b7b977f91ee967c871e8073da8 (patch)
treef5b228c4e6e744e68dd23c1016d553f325f1f521 /setup-libraries.sh
parentc91daf244db43c455c7ce302c54897aa5480d9f3 (diff)
downloadqtlocation-mapboxgl-3e26b899bda5f2b7b977f91ee967c871e8073da8.tar.gz
catch missing node install at setup-libraries.sh
Diffstat (limited to 'setup-libraries.sh')
-rwxr-xr-xsetup-libraries.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup-libraries.sh b/setup-libraries.sh
index d0d41c879f..8d714b098f 100755
--- a/setup-libraries.sh
+++ b/setup-libraries.sh
@@ -16,6 +16,7 @@ ensure_dep cmake
ensure_dep automake
ensure_dep autoconf
ensure_dep pkg-config
+ensure_dep node
if [ ${UNAME} = 'Darwin' ]; then
ensure_dep makedepend
ensure_dep glibtool
@@ -27,11 +28,11 @@ fi
if [[ $MISSING_DEPS != "" ]]; then
if [ ${UNAME} = 'Darwin' ]; then
echo "Missing build deps: ${MISSING_DEPS}"
- echo 'Please run "brew install autoconf automake libtool makedepend cmake pkg-config"'
+ echo 'Please run "brew install autoconf automake libtool makedepend cmake pkg-config node"'
echo 'and then re-run ./setup-libraries.sh'
elif [ ${UNAME} = 'Linux' ]; then
echo "Missing build deps: ${MISSING_DEPS}"
- echo 'Please run "sudo apt-get install automake libtool xutils-dev cmake pkg-config libxi-dev libglu1-mesa-dev x11proto-randr-dev x11proto-xext-dev libxrandr-dev x11proto-xf86vidmode-dev libxxf86vm-dev libxcursor-dev"'
+ echo 'Please run "sudo apt-get install automake libtool xutils-dev cmake pkg-config libxi-dev libglu1-mesa-dev x11proto-randr-dev x11proto-xext-dev libxrandr-dev x11proto-xf86vidmode-dev libxxf86vm-dev libxcursor-dev nodejs-legacy"'
echo 'and then re-run ./setup-libraries.sh'
fi
exit 1