From 4cfffd863b69bad2962fbfef8dbc565b0c739c65 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 5 Apr 2013 12:37:48 +0000 Subject: First fix for install_deps and ubuntu 10.04 (no libtiff5, only libtiff4, wonder why this package does not work as jpeg or png ones)... This allows compilation of OIIO, install_deps.sh still working though (on this old OS, all libs have to be compiled, takes time... :/). --- build_files/build_environment/install_deps.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build_files/build_environment') diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 85b27365d6e..d23ea0ba0ec 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -1303,10 +1303,16 @@ install_DEB() { if [ $? -eq 0 ]; then _packages="$_packages $TIFF-dev" else - TIFF="libtiff" + TIFF="libtiff4" # Some old distro, like e.g. ubuntu 10.04 :/ check_package_DEB $TIFF if [ $? -eq 0 ]; then _packages="$_packages $TIFF-dev" + else + TIFF="libtiff" + check_package_DEB $TIFF + if [ $? -eq 0 ]; then + _packages="$_packages $TIFF-dev" + fi fi fi -- cgit v1.2.3