[Ocfs2-test-devel] [PATCH 5/7] configure: Improve error message for missing mpicc

Sunil Mushran sunil.mushran at oracle.com
Wed Aug 19 18:21:07 PDT 2009


checking for mpicc... no
configure: error: mpicc is required

This patch adds a helpful error message when mpicc is not found during configure.

Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index c45df62..197ed65 100644
--- a/configure.in
+++ b/configure.in
@@ -61,7 +61,7 @@ fi
 
 AC_PATH_PROG(MPICC, mpicc)
 if test "x$MPICC" = "x"; then
-  AC_MSG_ERROR(mpicc is required)
+  AC_MSG_ERROR([mpicc not found. Install openmpi-libs, openmpi-devel, openmpi and mpi-selector packages. Use mpi-selector to set it as default.])
 fi
 
 AC_CHECK_LIB(aio, io_setup, [
-- 
1.6.0.4




More information about the Ocfs2-test-devel mailing list