Opened 16 years ago
Closed 16 years ago
#15398 closed defect (worksforme)
Bug building HDF5 with g95 fortran variant
Reported by: | davideproment@… | Owned by: | jochen@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | macports-dev@… | |
Port: |
Description
Dear MacPorts staff,
I have some problems building HDF5 with fortran interface on Intel Mac OS 10.5 Leopard.
I chose to use fortran g95 compiler build thanks to MacPorts with as: g95 @0.91_1+darwin_9 (active)
After that I've tried to build hdf5 getting this result:
$ sudo port install hdf5 +fortran +g95 ---> Fetching hdf5 ---> Verifying checksum(s) for hdf5 ---> Extracting hdf5 ---> Applying patches to hdf5 ---> Configuring hdf5 ---> Building hdf5 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdf5/work/hdf5-1.6.7" && make all " returned error 2 Command output: _h5a_MP_h5aread_double_5 in libhdf5_fortran.a(H5Aff.o)
"_h5acreate_c_", referenced from:
_h5a_MP_h5acreate_f in libhdf5_fortran.a(H5Aff.o)
"_h5dwrite_ref_obj_c_", referenced from:
_h5d_MP_h5dwrite_reference_obj in libhdf5_fortran.a(H5Dff.o)
"_h5pset_shuffle_c_", referenced from:
_h5p_MP_h5pset_shuffle_f in libhdf5_fortran.a(H5Pff.o)
"_h5dreadc_7_c_", referenced from:
_h5d_MP_h5dread_char_7 in libhdf5_fortran.a(H5Dff.o)
"_h5_fixname_c_", referenced from:
_h5_fixname_f_ in tf.o
"_h5pset_meta_block_size_c_", referenced from:
_h5p_MP_h5pset_meta_block_size_f in libhdf5_fortran.a(H5Pff.o)
"_h5tenum_insert_c_", referenced from:
_h5t_MP_h5tenum_insert_f in libhdf5_fortran.a(H5Tff.o)
"_h5dcreate_c_", referenced from:
_h5d_MP_h5dcreate_f in libhdf5_fortran.a(H5Dff.o)
"_h5dwrite_integer_5_c_", referenced from:
_h5d_MP_h5dwrite_integer_5 in libhdf5_fortran.a(H5Dff.o)
"_h5pset_sieve_buf_size_c_", referenced from:
_h5p_MP_h5pset_sieve_buf_size_f in libhdf5_fortran.a(H5Pff.o)
"_h5pset_fill_value_double_c_", referenced from:
_h5p_MP_h5pset_fill_value_double in libhdf5_fortran.a(H5Pff.o)
"_h5zunregister_c_", referenced from:
_h5z_MP_h5zunregister_f in libhdf5_fortran.a(H5Zff.o)
ld: symbol(s) not found make[3]: * [fortranlib_test] Error 1 make[2]: * [tests] Error 1 make[1]: * [tests] Error 1 make: * [all] Error 2
Error: Status 1 encountered during processing.
Anyone can help me? Thanks,
Davide Proment
Change History (3)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jochen@… |
---|
comment:2 Changed 16 years ago by jochen@…
Cc: | macports-dev@… added |
---|
comment:3 Changed 16 years ago by jochen@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
First, I now speified that g95 is not supported (by me) I suggest to use gcc43.
Second, I believe others had success building hdf5 with g95 in MacPorts
Third, what C compiler did you use? Does that match g95 (i.e., gcc-4.0)? If so, please send a bug report to the hdf5 team; if they can fix it, please send me the patch; I will then update the Portfile.