[MOAB-dev] compilation on osx
Jason Kraftcheck
kraftche at cae.wisc.edu
Wed Feb 16 09:58:22 CST 2011
On 02/16/2011 08:13 AM, Lorenzo Alessio Botti wrote:
> Hi all,
> I've just compiled MOAB with prerequisites and mbzoltan on my mac.
>
> I have just two comments that might be helpful for other attenders.
>
>
> 1)
> As noted by Lukasz in 2009 I had to modify the file netcdf.m4,
> I just replace line 63 with
> DFLAGS="$NETCDF_LDFLAGS $LDFLAGS $HDF5_LDFLAGS $HDF5_LIBS".
>
> Otherwise netcdf is not being linked during configure
>
Unconditionally requiring HDF5 for NetCDF isn't an option because we still
support older versions of NetCDF that do not depend on HDF5. Also, there is
already some logic later in that script that is meant to handle the HDF5
dependency that newer versions of NetCDF have. But it looks like it might
not work correctly if the HDF5 libraries are not in the default search path.
I think it should be sufficient to add only $HDF5_LDFLAGS to the above
line. Does that work for you?
>
> 2)
> Since HFS+ file system is case-insensitive the file mbzoltan.cpp overwrites the file MBZoltan.cpp
> and the compilation clearly fails.
>
>
Fixed. Thanks.
- jason
More information about the moab-dev
mailing list