From d1cd8f5802ee08070cee088fe1882c2a8e49c5e8 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 13 Nov 2012 06:22:47 +0000 Subject: [PATCH] fix for boost (symlink was buggy, and better to only build needed boost libs). Note; we might also want to add the --without-icu option later... --- build_files/build_environment/install_deps.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 5a164b1fbaf..8ca4ca4c7c4 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -42,7 +42,7 @@ detect_distro() { } prepare_opt() { - INFO "Ensuring /opt/lib exists and vritabele by us" + INFO "Ensuring /opt/lib exists and writable by us" sudo mkdir -p /opt/lib sudo chown $USER /opt/lib sudo chmod 775 /opt/lib @@ -98,12 +98,12 @@ compile_Boost() { fi cd $SRC/boost_$BOOST_VERSION - ./bootstrap.sh - ./b2 install --prefix=/opt/lib/boost-$version_dots + ./bootstrap.sh --with-libraries=system,filesystem,thread,regex,locale --prefix=/opt/lib/boost-$version_dots + ./b2 install ./b2 --clean rm -f /opt/lib/boost - ln -s boost-$BOOST_VERSION /opt/lib/boost + ln -s boost-$version_dots /opt/lib/boost cd $CWD fi