[MINC-users] Minc-2 installation problems

mohamed Ali Bahri m.bahri at ulg.ac.be
Sat Apr 4 11:12:10 EDT 2009


Hi Claude,

Thank you for your answer. I tried to use HDF5-1.6.6 instead of 
hdf5-1.8.2 but now I have errors with HDF5.
I use the following command lines:

1) FC=/usr/bin/gfortran ./configure --prefix=/usr/local/ 
--with-zlib=/usr/local/ --enable-fortran --enable-cxx
2) make

===============================================

g++ -O2 -I. -I../../src -I../../src -D_BSD_SOURCE -D_POSIX_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I/usr/local//include -c H5PropList.cpp -fPIC -DPIC -o .libs/H5PropList.lo
H5PropList.cpp: In member function 'std::string 
H5::PropList::getClassName() const':
H5PropList.cpp:428: error: 'free' was not declared in this scope
make[3]: *** [H5PropList.lo] Erreur 1
make[3]: quittant le répertoire « /usr/local/hdf5-1.6.6/c++/src »
make[2]: *** [lib] Erreur 1
make[2]: quittant le répertoire « /usr/local/hdf5-1.6.6/c++ »
make[1]: *** [lib] Erreur 1
make[1]: quittant le répertoire « /usr/local/hdf5-1.6.6 »
make: *** [all] Erreur 2
=======================================================

Thanks a lot,
Mohamed

Claude LEPAGE a écrit :
> Hi,
>
>   
>> I have a problem with minc-2.0.17 installation (make command fails). Any 
>> one have an idea how I can solve that?
>> I use linux (Fedora 9, 64-bit).
>>
>> 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: erreur: too few arguments to function 
>> ‘H5Gopen2’
>> libsrc/hdf_convenience.c: In function ‘hdf_var_add’:
>> libsrc/hdf_convenience.c:185: erreur: too few arguments to function 
>>     
>
> I haven't seen this problem, but here is an idea.
>
> Which version of HDF5 have you installed? minc2 has been tested
> with HDF5 up to 5-1.6.7. If you are using 5-1.8.X, I would suggest
> to try 5-1.6.6 (what I am currently using) or 5-1.6.7. If I recall,
> 5-1.8.X is not 100% compatible with previous versions.
>
> The problem may be different too, but making sure you are using
> a compatible version of HDF5 is the first step.
>
> Yours,
>
> Claude
>  
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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