On Thu, 6 Apr 2006, Minghui Han wrote:
I am trying to install h5utils on my powerbook G4. The operating system is Mac OS X. The problem is that when the command "./configure" is being executed, it always says that the HDF5 libraries are required for compilation, though I have already installed HDF5 in my computer. Does anyone have experience on how to modify the setting for Mac so that the HDF5 libraries can be located? The online documentation of h5utils only mentions about the case of GNU/Linux.

Note that it is not sufficient to just compile HDF5. You need to 'sudo make install' to put the HDF5 libraries into the standard /usr/local/lib directory.

If you want to install somewhere other than /usr/local, say in your home directory, you can use ./configure --prefix=<directory>. However, you then should use the LDFLAGS and CPPFLAGS environment variables to tell h5utils where to find it. See:

        
http://ab-initio.mit.edu/wiki/index.php/MPB_Installation#Unix_Installation_Basics

(MacOS X is a Unix, so the standard Unix installation instructions are applicable.)

Steven

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to