aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-27 16:22:03 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-27 16:22:03 +0100
commit481db507727c12f89b0c30691c5fd351a48401cc (patch)
tree6baa422a6053e245e49729e5441829e6d41f1475
parent703221a79ab2b300919f50d655a5cf2138cac862 (diff)
downloadpaludis-481db507727c12f89b0c30691c5fd351a48401cc.tar.gz
paludis-481db507727c12f89b0c30691c5fd351a48401cc.tar.xz
Better boost.python not working error messages
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2b7b810..244cc54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1028,7 +1028,8 @@ if test "x$enable_python" = "xyes" ; then
],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
- AC_MSG_ERROR([boost.python (http://www.boost.org/libs/python/doc/) is required])])
+ AC_MSG_ERROR([boost.python (http://www.boost.org/libs/python/doc/) is required. If you think you have boost.python, \
+ you may need to reinstall it if you have upgraded Python since installing Boost.])])
dnl Restore the C++ flags
CXXFLAGS="$save_CXXFLAGS"
dnl }}}
@@ -1053,7 +1054,8 @@ int main() { boost::python::throw_error_already_set(); return 0; }
[BOOST_PYTHON_LIB="-lboost_python-mt"
AC_MSG_RESULT([$BOOST_PYTHON_LIB])],
[AC_MSG_RESULT([not found])
- AC_MSG_ERROR([boost.python (http://www.boost.org/libs/python/doc/) is required])])])
+ AC_MSG_ERROR([Can't work out how to link to boost.python. You may need to reinstall boost.python, especially \
+ if you have upgraded Python since installing Boost.])])])
AC_SUBST(BOOST_PYTHON_LIB)
dnl Restore the C++ flags
LIBS="$save_LIBS"