[MOAB-dev] compilation issues on mac with disable_fortran
Vijay S. Mahadevan
vijay.m at gmail.com
Mon May 18 08:00:10 CDT 2015
Lorenzo,
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.
I'll keep you updated.
Vijay
On May 18, 2015 1:18 PM, "Lorenzo Alessio Botti" <bottilorenzo at gmail.com>
wrote:
> Hi all,
> trying to compile moab 4.7 or 4.8 on a mac with fortran disabled the
> compilation fails.
> Even reenabling the check at line 137 of compiler.m4 I get
>
> 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
>
> checking build system type... x86_64-apple-darwin14.3.0
>
> checking host system type... x86_64-apple-darwin14.3.0
>
> checking target system type... x86_64-apple-darwin14.3.0
>
> checking for a BSD-compatible install... /usr/bin/install -c
>
> checking whether build environment is sane... yes
>
> checking for a thread-safe mkdir -p... config/install-sh -c -d
>
> checking for gawk... no
>
> checking for mawk... no
>
> checking for nawk... no
>
> checking for awk... awk
>
> checking whether make sets $(MAKE)... yes
>
> checking whether make supports nested variables... yes
>
> checking for sed... sed
>
> checking for style of include used by make... GNU
>
> checking for gcc... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc
>
> checking whether the C compiler works... yes
>
> checking for C compiler default output file name... a.out
>
> checking for suffix of executables...
>
> checking whether we are cross compiling... no
>
> checking for suffix of object files... o
>
> checking whether we are using the GNU C compiler... yes
>
> checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc accepts
> -g... yes
>
> checking for /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc option to
> accept ISO C89... none needed
>
> checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc
> understands -c and -o together... yes
>
> checking dependency style of
> /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc... gcc3
>
> checking how to run the C preprocessor...
> /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc -E
>
> checking whether we are using the GNU C++ compiler... yes
>
> checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx accepts
> -g... yes
>
> checking dependency style of
> /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx... gcc3
>
> checking how to run the C++ preprocessor...
> /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx -E
>
> checking how to get verbose linking output from ... configure: WARNING:
> compilation failed
>
>
> checking for Fortran 77 libraries of ...
>
> checking for dummy main to link with Fortran 77 libraries... none
>
> checking for Fortran 77 name-mangling scheme... configure: error: in
> `/Users/ihabia/src2/moab-4.8.1':
>
> configure: error: cannot compile a simple Fortran program
>
> See `config.log' for more details
>
> I don’t understand where this check is taking place.
> MOAB 4.6.3 seems to work, any help is appreciated.
>
>
> Bests
> Lorenzo
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150518/7ee18384/attachment-0001.html>
More information about the moab-dev
mailing list