summaryrefslogtreecommitdiff
path: root/setup-libraries.sh
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-05-28 17:51:31 -0700
committerDane Springmeyer <dane@mapbox.com>2014-05-28 17:51:38 -0700
commitc91daf244db43c455c7ce302c54897aa5480d9f3 (patch)
tree37bda85274d6d32bde389448eabf349bd1f36e0b /setup-libraries.sh
parentbbae29206be53a38e2ca04e1e47fba0ea9a5b19a (diff)
downloadqtlocation-mapboxgl-c91daf244db43c455c7ce302c54897aa5480d9f3.tar.gz
[install]: be more friendly and recommend all build deps on linux
Diffstat (limited to 'setup-libraries.sh')
-rwxr-xr-xsetup-libraries.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup-libraries.sh b/setup-libraries.sh
index d434611115..d0d41c879f 100755
--- a/setup-libraries.sh
+++ b/setup-libraries.sh
@@ -27,10 +27,12 @@ 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" and then re-run ./setup-libraries.sh'
+ echo 'Please run "brew install autoconf automake libtool makedepend cmake pkg-config"'
+ 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" and then re-run ./setup-libraries.sh'
+ 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 'and then re-run ./setup-libraries.sh'
fi
exit 1
fi
@@ -86,8 +88,8 @@ cd ../../
elif [ ${UNAME} = 'Linux' ]; then
source Linux.sh
- if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi
if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64/lib/libglfw3.a ] ; then ./scripts/build_glfw.sh ; fi
+ if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi
if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64/lib/libuv.a ] ; then ./scripts/build_libuv.sh ; fi
if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64/lib/libssl.a ] ; then ./scripts/build_openssl.sh ; fi
if [ ! -f out/build-cpp11-libstdcpp-gcc-x86_64/lib/libcurl.a ] ; then ./scripts/build_curl.sh ; fi