HDF5 Mac compile issue

I'm attempting to get HDF5 running properly on a MacPro running Mac OS X 10.6.7, XCode and gfortran 4.2.1.

When I perform the "make check", the process produces an error and stops executing. Here is the message I receive (I can supply the complete log if needed).

makecheck-TESTS
===Serial tests in test begin Wed Apr 13 11:07:11 EDT 2011===

···

============================
Fortran API: Testingtstlite

Fortran API:tstliteTest Log

Make/Read datasets (1D)PASSED
Make/Read datasets (2D)PASSED
Make/Read datasets (3D)PASSED
Make/Read datasets (integer)PASSED
Make/Read datasets (float)PASSED
Make/Read datasets (double)PASSED
Make/Read datasets (string)PASSED
Get dataset dimensions/infoCommand terminated abnormally.
0.05 real0.00 user0.00 sys
make[6]: *** [tstlite.chkexe_] Error 1
make[5]: *** [build-check-s] Error 2
make[4]: *** [test] Error 2
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

The configure command I used is as follows:

./configure --prefix=<my space> --enable-fortran --enable-cxx

I've search and search but don't find any references to this type of error.

Any assistance would be greatly appreciated.

--

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Mark A. Storrings
GIS Instructional Support Specialist
Faculty of Environmental Resources and Forestry Engineering
SUNY College of Environmental Science and Forestry
1 Forestry Drive
446 Baker Laboratory
Syracuse, NY 13210
------------------------------------------------------------------------------
Email: mstorrings@esf.edu
Phone: (315) 470-4816
Fax: (315) 470-6958
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I'm attempting to get HDF5 running properly on a MacPro running Mac OS X
10.6.7, XCode and gfortran 4.2.1.

The tests passed for me using "gfortran -m32" from macports gcc45 (for use with
a 32-bit application). Some of the gfortran versions that can be
found on the internet
are not trustworthy, but gfortran-4.2.3 from CRAN (in the MacOSX tools
section) seems
to be reliable. Unlike the macports build, CRAN gfortran supports the Apple
-arch options needed to build universal binaries.

···

On Thu, Apr 14, 2011 at 10:07 AM, Mark A. Storrings <mstorrings@esf.edu> wrote:

When I perform the "make check", the process produces an error and stops
executing. Here is the message I receive (I can supply the complete log if
needed).

make check-TESTS
===Serial tests in test begin Wed Apr 13 11:07:11 EDT 2011===

Fortran API: Testing tstlite

Fortran API: tstlite Test Log

Make/Read datasets (1D)
PASSED
Make/Read datasets (2D)
PASSED
Make/Read datasets (3D)
PASSED
Make/Read datasets (integer)
PASSED
Make/Read datasets (float)
PASSED
Make/Read datasets (double)
PASSED
Make/Read datasets (string)
PASSED
Get dataset dimensions/info
Command terminated abnormally.
0.05 real 0.00 user 0.00 sys
make[6]: *** [tstlite.chkexe_] Error 1
make[5]: *** [build-check-s] Error 2
make[4]: *** [test] Error 2
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

The configure command I used is as follows:

./configure --prefix=<my space> --enable-fortran --enable-cxx

I've search and search but don't find any references to this type of error.

Any assistance would be greatly appreciated.

--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

Success. I downloaded the CRAN version and added the -m64 flag (it didn't work without it) and the make check finished without error.

Thanks for your help.

···

On 4/14/2011 8:23 PM, George N. White III wrote:

On Thu, Apr 14, 2011 at 10:07 AM, Mark A. Storrings<mstorrings@esf.edu> wrote:

I'm attempting to get HDF5 running properly on a MacPro running Mac OS X
10.6.7, XCode and gfortran 4.2.1.

The tests passed for me using "gfortran -m32" from macports gcc45 (for use with
a 32-bit application). Some of the gfortran versions that can be
found on the internet
are not trustworthy, but gfortran-4.2.3 from CRAN (in the MacOSX tools
section) seems
to be reliable. Unlike the macports build, CRAN gfortran supports the Apple
-arch options needed to build universal binaries.

When I perform the "make check", the process produces an error and stops
executing. Here is the message I receive (I can supply the complete log if
needed).

make check-TESTS
===Serial tests in test begin Wed Apr 13 11:07:11 EDT 2011===

Fortran API: Testing tstlite

Fortran API: tstlite Test Log

  Make/Read datasets (1D)
PASSED
  Make/Read datasets (2D)
PASSED
  Make/Read datasets (3D)
PASSED
  Make/Read datasets (integer)
PASSED
  Make/Read datasets (float)
PASSED
  Make/Read datasets (double)
PASSED
  Make/Read datasets (string)
                                          PASSED
  Get dataset dimensions/info
Command terminated abnormally.
         0.05 real 0.00 user 0.00 sys
make[6]: *** [tstlite.chkexe_] Error 1
make[5]: *** [build-check-s] Error 2
make[4]: *** [test] Error 2
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

The configure command I used is as follows:

./configure --prefix=<my space> --enable-fortran --enable-cxx

I've search and search but don't find any references to this type of error.

Any assistance would be greatly appreciated.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Mark A. Storrings
GIS Instructional Support Specialist
Faculty of Environmental Resources and Forestry Engineering
SUNY College of Environmental Science and Forestry
1 Forestry Drive
446 Baker Laboratory
Syracuse, NY 13210
------------------------------------------------------------------------------
Email: mstorrings@esf.edu
Phone: (315) 470-4816
Fax: (315) 470-6958
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++