<p dir="ltr">Lorenzo, </p>
<p dir="ltr">This was unintentionally introduced in 4.7 and there's an outstanding PR that fixes the issue along with several other inconsistencies. We will be merging this to master soon. The fixes are part of vijaysm/configure-header-defines branch. </p>
<p dir="ltr">I'll keep you updated. </p>
<p dir="ltr">Vijay</p>
<div class="gmail_quote">On May 18, 2015 1:18 PM, "Lorenzo Alessio Botti" <<a href="mailto:bottilorenzo@gmail.com">bottilorenzo@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi all, </div><div>trying to compile moab 4.7 or 4.8 on a mac with fortran disabled the compilation fails. </div><div>Even reenabling the check at line 137 of compiler.m4 I get</div><div><br></div><div><p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">dlm249-198:moab-4.8.1 ihabia$ ./configure --disable-fortran --disable-imesh --with-mpi=/Users/ihabia/src2/mpich-3.0.4/mpich3/ --with-hdf5=/Users/ihabia/src2/hdf5-1.8.14/hdf5/ --prefix=/Users/ihabia/src2/moab-4.8.2_pre/moab</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking build system type... x86_64-apple-darwin14.3.0</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking host system type... x86_64-apple-darwin14.3.0</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking target system type... x86_64-apple-darwin14.3.0</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for a BSD-compatible install... /usr/bin/install -c</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether build environment is sane... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for a thread-safe mkdir -p... config/install-sh -c -d</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for gawk... no</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for mawk... no</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for nawk... no</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for awk... awk</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether make sets $(MAKE)... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether make supports nested variables... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for sed... sed</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for style of include used by make... GNU</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for gcc... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether the C compiler works... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for C compiler default output file name... a.out</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for suffix of executables... </p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether we are cross compiling... no</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for suffix of object files... o</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether we are using the GNU C compiler... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc accepts -g... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc option to accept ISO C89... none needed</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc understands -c and -o together... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking dependency style of /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc... gcc3</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking how to run the C preprocessor... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc -E</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether we are using the GNU C++ compiler... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx accepts -g... yes</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking dependency style of /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx... gcc3</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking how to run the C++ preprocessor... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx -E</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking how to get verbose linking output from ... configure: WARNING: compilation failed</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:16px"><br></p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for Fortran 77 libraries of ... </p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for dummy main to link with Fortran 77 libraries... none</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">checking for Fortran 77 name-mangling scheme... configure: error: in `/Users/ihabia/src2/moab-4.8.1':</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">configure: error: cannot compile a simple Fortran program</p>
<p style="margin:0px;font-size:14px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">See `config.log' for more details</p><div><br></div></div>I don’t understand where this check is taking place.<div>MOAB 4.6.3 seems to work, any help is appreciated.</div><div><br><div><br><div>Bests</div><div>Lorenzo</div><div><br></div><div></div></div></div></div><br><div style="word-wrap:break-word"><div><div><div></div></div></div></div><br></blockquote></div>