[Ocfs2-test-devel] [PATCH 5/7] configure: Improve error message for missing mpicc
tristan.ye
tristan.ye at oracle.com
Sun Aug 23 21:19:11 PDT 2009
SOB
Tristan
Sunil Mushran Wrote:
> 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, [
>
More information about the Ocfs2-test-devel
mailing list