Hi Elisabetta and Tim If we're going to mention binary packages of HDF5, I think it might be good to point out that on OS X there are non-apple package managers that provide HDF5 too. - Mac Ports ( https://www.macports.org/ ) - Fink ( http://www.finkproject.org/ ) - Brew ( http://brew.sh/ )
A more extensive list is on wikipedia: https://en.wikipedia.org/wiki/List_of_software_package_management_systems Regards Timothy > On Jul 12, 2015, at 10:40 AM, Tim Gruene <[email protected]> wrote: > > Dear Elisabetta, > > on Debian Linux hdf5 os provided precompiled. If you would install Linux > on your Mac or buy a cheap PC and install it there, you could overcome > all these problems. > > Best regards, > Tim > > On 07/12/2015 05:38 PM, Elisabetta Strazzeri wrote: >> Hello, >> >> I've run the ./configure in my Mac in this way: >> >> ./configure --prefix=/usr/local --enable-fortran --enable-cxx >> --with-szlib=/usr/lib >> >> and I typed : make but at the end a lot of errors were found: >> >> *./H5f90proto.h:100:16: **error: **function cannot return function type >> 'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f >> *access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id); >> >> * ^* >> >> *./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c' >> >> #define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C) >> >> * ^* >> >> *./H5f90proto.h:100:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c' >> >> #define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C) >> >> * ^* >> >> *./H5f90proto.h:101:16: **error: **function cannot return function type >> 'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags, >> hid_t_f *acc_prp, hid_t_f *file_id); >> >> * ^* >> >> *./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c' >> >> #define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:101:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c' >> >> #define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:102:16: **error: **function cannot return function type >> 'int_f (_fcd, int_f *, int_f *)'* >> >> H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag); >> >> * ^* >> >> *./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c' >> >> #define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C) >> >> * ^* >> >> *./H5f90proto.h:102:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c' >> >> #define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C) >> >> * ^* >> >> *./H5f90proto.h:103:16: **error: **function cannot return function type >> 'int_f (hid_t_f *)'* >> >> H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id); >> >> * ^* >> >> *./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c' >> >> #define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C) >> >> * ^* >> >> *./H5f90proto.h:103:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c' >> >> #define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C) >> >> * ^* >> >> *./H5f90proto.h:104:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen, >> hid_t_f *file_id, hid_t_f *acc_prp); >> >> * ^* >> >> *./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c' >> >> #define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:104:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c' >> >> #define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:105:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, _fcd, int_f *)'* >> >> H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f >> *namelen); >> >> * ^* >> >> *./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c' >> >> #define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:105:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c' >> >> #define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:106:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2); >> >> * ^* >> >> *./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c' >> >> #define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:106:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c' >> >> #define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:107:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id); >> >> * ^* >> >> *./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c' >> >> #define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c, >> H5FGET_CREATE_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:107:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c' >> >> #define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c, >> H5FGET_CREATE_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:108:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f >> *access_id); >> >> * ^* >> >> *./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c' >> >> #define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c, >> H5FGET_ACCESS_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:108:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c' >> >> #define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c, >> H5FGET_ACCESS_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:109:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, int_f *, size_t_f *)'* >> >> H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type, >> size_t_f *obj_count); >> >> * ^* >> >> *./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c' >> >> #define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c, >> H5FGET_OBJ_COUNT_C) >> >> * ^* >> >> *fatal error: *too many errors emitted, stopping now [-ferror-limit=] >> >> 20 errors generated. >> >> make[3]: *** [H5f90kit.lo] Error 1 >> >> make[2]: *** [all] Error 2 >> >> make[1]: *** [all-recursive] Error 1 >> >> make: *** [all-recursive] Error 1 >> >> ///////////////////////////////////////////////////////////////////////////// >> >> How can I remove these errors and install completely hdf5? >> >> Thank you very much >> >> My Kindest Regards >> >> >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org >> Twitter: https://twitter.com/hdf5 >> > > -- > -- > Dr Tim Gruene > Institut fuer anorganische Chemie > Tammannstr. 4 > D-37077 Goettingen > phone: +49 (0)551 39 22149 > > GPG Key ID = A46BEE1A > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
