Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] non-portable test operator in configure
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2012-02-20 15:38:51


I am afraid that with the $with_platform instance fixed, configure on
Solaris 10 gets far enough to find another problem.
I'll provide a patch once I've tracked this down. Sigh.

FYI:
One can root out bashisms by using the "dash" shell on a Debian or
Ubuntu system:
$ env CONFIG_SHELL=dash dash [path_to]/configure [options]

-Paul

On 2/20/2012 5:42 AM, Jeffrey Squyres wrote:
> Fixed -- thanks!
>
> On Feb 20, 2012, at 4:11 AM, Paul H. Hargrove wrote:
>
>> Please note that "==" is NOT a portable binary operator for the "test" utility.
>> It is supported only by the bash built-in version of "test".
>> The correct operator is a simple "=".
>>
>> The following appear in the svn trunk
>>
>> ./orte/config/orte_check_alps.m4: AS_IF([test "$orte_check_alps_pmi_happy" == "yes" -a "$orte_without_full_support" = 0],
>> ./config/ompi_load_platform.m4: if test "$with_platform" == "" ; then
>>
>> The $with_platform test breaks configure fairly early on at least Solaris 10.
>>
>> -Paul
>>
>> --
>> Paul H. Hargrove PHHargrove_at_[hidden]
>> Future Technologies Group
>> HPC Research Department Tel: +1-510-495-2352
>> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900