Opened 11 years ago

Last modified 9 years ago

#37299 closed defect

problems compiling hdf5 port with fortran variant — at Initial Version

Reported by: jvianalopes (João Manuel Viana Parente Lopes) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: hdf5

Description

trying to install the hdf5 library with

sudo port install hdf5 +fortran +gcc44

I get the following error:

:info:build /opt/local/bin/gfortran-mp-4.4 -I. -pipe -O2 -m64 -I. -c H5fortran_types.f90 -fno-common -DPIC -o .libs/H5fortran_types.lo :info:build H5fortran_types.f90:32.40: :info:build :info:build INTEGER, PARAMETER :: R_LARGE = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:33.42: :info:build :info:build INTEGER, PARAMETER :: R_INTEGER = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:34.41: :info:build :info:build INTEGER, PARAMETER :: HADDR_T = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:35.41: :info:build :info:build INTEGER, PARAMETER :: HSIZE_T = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:36.41: :info:build :info:build INTEGER, PARAMETER :: HSSIZE_T = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:37.41: :info:build :info:build INTEGER, PARAMETER :: HID_T = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:38.41: :info:build :info:build INTEGER, PARAMETER :: SIZE_T = :info:build 1 :info:build Error: Expected an initialization expression at (1) :info:build H5fortran_types.f90:44.17: :info:build :info:build INTEGER(SIZE_T), PARAMETER :: OBJECT_NAMELEN_DEFAULT_F = :info:build 1 :info:build Error: Parameter 'size_t' at (1) has not been declared or is a variable, which does not reduce to a constant expression

Thanks in advance João

Change History (0)

Note: See TracTickets for help on using tickets.