|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54194 - trunk
From: ghost_at_[hidden]
Date: 2009-06-22 06:03:44
Author: vladimir_prus
Date: 2009-06-22 06:03:43 EDT (Mon, 22 Jun 2009)
New Revision: 54194
URL: http://svn.boost.org/trac/boost/changeset/54194
Log:
Provide sane diagnostic when Boost.Jam cannot be built
Text files modified:
trunk/bootstrap.sh | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Modified: trunk/bootstrap.sh
==============================================================================
--- trunk/bootstrap.sh (original)
+++ trunk/bootstrap.sh 2009-06-22 06:03:43 EDT (Mon, 22 Jun 2009)
@@ -215,7 +215,13 @@
if test "x$BJAM" = x; then
echo -n "Building Boost.Jam with toolset $TOOLSET... "
pwd=`pwd`
- cd "$my_dir/tools/jam/src" && ./build.sh "$TOOLSET" > config.log 2>&1
+ (cd "$my_dir/tools/jam/src" && ./build.sh "$TOOLSET") > bootstrap.log 2>&1
+ if [ $? -ne 0 ]; then
+ echo
+ echo "Failed to build Boost.Jam"
+ echo "Consult 'bootstrap.log' for more details"
+ exit 1
+ fi
cd "$pwd"
arch=`cd $my_dir/tools/jam/src && ./bootstrap/jam0 -d0 -f build.jam --toolset=$TOOLSET --toolset-root= --show-locate-target && cd ..`
BJAM="$my_dir/tools/jam/src/$arch/bjam"
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk