I am new to hdf and am trying to get h5py
http://code.google.com/p/h5py/ installed. I think my problem is that I
don't know how to install hdf.
I downloaded the hdf5-1.8.5-macosx64-static.tar.gz
But reading through the README I don't really understand what I need
to do to install it.

This is the error I get when I try to install h5py

MacBookPro-new-2:h5py-read-only vmd$ python setup.py build --hdf5=/Library/hdf5
******************************************
Configure: Autodetecting HDF5 settings...
    Custom HDF5 dir:       /Library/hdf5
    Custom API level:      None
Undefined symbols:
  "_inflateEnd", referenced from:
      _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o)
      _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o)
      _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o)
  "_SZ_encoder_enabled", referenced from:
      _H5Z_init_interface in libhdf5.a(H5Z.o)
  "_compress2", referenced from:
      _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o)
  "_inflateInit_", referenced from:
      _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o)
  "_SZ_BufftoBuffDecompress", referenced from:
      _H5Z_filter_szip in libhdf5.a(H5Zszip.o)
  "_SZ_BufftoBuffCompress", referenced from:
      _H5Z_filter_szip in libhdf5.a(H5Zszip.o)
  "_inflate", referenced from:
      _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

    Failed to compile HDF5 test program.  Please check to make sure:

    * You have a C compiler installed
    * A development version of Python is installed (including header files)
    * A development version of HDF5 is installed (including header files)
    * If HDF5 is not in a default location, supply the argument --hdf5=<path>
******************************************
error: command 'cc' failed with exit status 1

Thanks
Vincent

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to