[MINC-users] minc "make check" error -- not just a Snow Leopard problem

Claude LEPAGE claude at bic.mni.mcgill.ca
Thu Feb 24 19:59:29 EST 2011


Jim,

ok, that's convincing enough. So our build is wrong. I believed
we compiled netcdf 3.6, not 4. Can you send me your script
for compilation (the ./configure command) for hdf5, netcdf
and minc? The prefix-path and build-path must be conflicting
with some other paths.

for minc:

MINC_FLAG    = --with-minc2
MINC_EXTRA   = --enable-shared=no --enable-static=yes --enable-acr-nema --enable-minc2

$(LIBMINC):      $(MINC_UNTAR)    $(MINC_DEPEND)
        cd ${SOURCE_DIR}/${MINC_PACKAGE}/ ; \
        if [ ! -e Makefile ] ; then \
         ./configure $(MINC_FLAG) $(MINC_EXTRA) --prefix=$(PREFIX_PATH) --with-build-path=$(BUILD_PATH) ${CFG_COMP_FLAGS} ; \
        fi ; \
        ${MAKE}; ${MAKE} install


Claude

> jnikelski@[~]: otool -L /usr/local/bic/bin/minccalc
> /usr/local/bic/bin/minccalc:
>         /usr/local/bic/lib/libhdf5.6.dylib (compatibility version
> 7.0.0, current version 7.4.0)
>         /usr/lib/libz.1.dylib (compatibility version 1.0.0, current
> version 1.2.3)
>         /usr/local/bic/lib/libnetcdf.4.dylib (compatibility version
> 5.0.0, current version 5.0.0)
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
> current version 125.2.1)
>
>     When you built netcdf and hdf5, did you not build the shared libs?
>  If not, then that would explain the use of static linkage on the
> system that you were working on.  Is this not the recommended linkage?
> ... or do we want everything (eg, hdf5/netcdf) statically linked?
>
> -jim


More information about the MINC-users mailing list