[MINC-users] MINC Tools on Centos 5

Claude LEPAGE claude at bic.mni.mcgill.ca
Fri May 15 14:19:21 EDT 2009


Hi,

> I have removed and re-installed the netcdf and hdf5 dependencies for 
> minc-2.0.18:
>
> Installed Packages
> hdf5.x86_64 1.8.0-1.el5.rf installed
> hdf5-devel.x86_64 1.8.0-1.el5.rf installed
> netcdf.x86_64 3.6.3-1.el5.rf installed
> netcdf-devel.x86_64 3.6.3-1.el5.rf installed

Use hdf5 1.6.X and netcdf 3.6.X. Do not use hdf5 1.8.X as the
API has changed from 1.6.X.

>
>
> But when I try to compile minc from source, I get errors. I can run 
> "./configure --prefix=/usr/local" without error, but when I try to 
> 'make', I get the following:
>
> # make
> make all-recursive
> make[1]: Entering directory `/home/user/minc-2.0.18'
> Making all in .
> make[2]: Entering directory `/home/user/minc-2.0.18'
> ...
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./libsrc 
> -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib 
> -I./conversion/Acr_nema -I./libsrc2 -g -O2 -MT libsrc/voxel_loop.lo -MD 
> -MP -MF libsrc/.deps/voxel_loop.Tpo -c libsrc/voxel_loop.c -o 
> libsrc/voxel_loop.o
> depbase=`echo libsrc/hdf_convenience.lo | sed 
> 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib 
> -I./conversion/Acr_nema -I./libsrc2 -g -O2 -MT libsrc/hdf_convenience.lo 
> -MD -MP -MF $depbase.Tpo -c -o libsrc/hdf_convenience.lo 
> libsrc/hdf_convenience.c &&\
> mv -f $depbase.Tpo $depbase.Plo
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./libsrc 
> -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib 
> -I./conversion/Acr_nema -I./libsrc2 -g -O2 -MT libsrc/hdf_convenience.lo 
> -MD -MP -MF libsrc/.deps/hdf_convenience.Tpo -c libsrc/hdf_convenience.c 
> -o libsrc/hdf_convenience.o
> libsrc/hdf_convenience.c: In function ???hdf_id_add???:
> libsrc/hdf_convenience.c:83: error: too few arguments to function 
> ???H5Gopen2???libsrc/hdf_convenience.c: In function ???hdf_var_add???:
> libsrc/hdf_convenience.c:185: error: too few arguments to function 
> ???H5Dopen2???
> libsrc/hdf_convenience.c: In function ???hdf_put_dimorder???:
> libsrc/hdf_convenience.c:621: error: too few arguments to function 
> ???H5Acreate2???
> libsrc/hdf_convenience.c: In function ???hdf_set_length???:
> libsrc/hdf_convenience.c:928: error: too few arguments to function 
> ???H5Acreate2???
> libsrc/hdf_convenience.c: In function ???hdf_attput???:
> libsrc/hdf_convenience.c:1106: error: too few arguments to function 
> ???H5Dcreate2???
> libsrc/hdf_convenience.c:1110: warning: cast to pointer from integer of 
> different size
> ...
> libsrc/hdf_convenience.c:2313: error: too few arguments to function 
> ???H5Gcreate2???
> libsrc/hdf_convenience.c:2318: error: too few arguments to function 
> ???H5Gcreate2???
> make[2]: *** [libsrc/hdf_convenience.lo] Error 1
> make[2]: Leaving directory `/home/jordanja/minc-2.0.18'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jordanja/minc-2.0.18'
> make: *** [all] Error 2
>
>
> I'm not sure what "error: too few arguments to function" is indicating here.
> Assistance would be appreciated.
> Thanks
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list