On 25 May 2010 13:23, Brandt Belson <bbel...@princeton.edu> wrote:
> Hi again,
> Ok, I installed numexpr and the newest Cython, and now the latest trunk
> version gives another error related to hdf5.

[...snip]

> .. ERROR:: Could not find a local HDF5 installation.
>    You may need to explicitly state where your local HDF5 headers and
>    library can be found by setting the ``HDF5_DIR`` environment
>    variable or by using the ``--hdf5`` command-line option.
> error: Setup script exited with 1
> I have set the HDF5_DIR env variable to the right value, along with

[snip...]

Most of what you're doing looks like it should work. You seem to be
using python from python.org and distutils is calling gcc4.0.

There are some things I'd try:

Check output of gcc -v. If it's 4.2 it will default to buidling a
64-bit hdf5 that won't be usable. You'll have to specify either -arch
i386 or CC when configuring.

Use the file command to determine the archs of
../hdf5-1.8.4/hdf5/lib/libhdf5.dylib (or similar).

Try installing hdf5 to /usr/local, I've generally had the most success
with this.

I'm not at a Mac at the moment, I'll have a look later on.

Tony

------------------------------------------------------------------------------

_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to