A Wednesday 01 December 2010 08:27:23 Nils Becker escrigué:
> Hi,
>
> I just tried to install pytables 2.2.1 from source;
>
> I did python setup.py build_ext --inplace --hdf5=python setup.py
> install --hdf5=~/lib/hdf5/ --lflags="-Xlinker -rpath -Xlinker
> ~/lib/hdf5/lib then, python setup.py install
>
> tests ran successfully when started from the root directory of the
> distributed tarball, but not from my python install; in fact "import
> tables" failed after install, with a message about a missing symbol
> in linkExtension.so.
>
> I checked setup.py, and found a place where it says
> CFLAGS.append("-DH5_USE_16_API") in the case of using hdf5 1.8 (as in
> my case) When changing this to CFLAGS.append("-DH5_USE_18_API") I am
> able to install and import tables.
No, PyTables is meant to use the 1.6 API, even if you are using HDF5
1.8.x. So the line above is definitely correct.
> Is this a bug in setup.py?
PyTables does not support the HDF5 1.8 *API* at all, so I'm confused
here. But if your later approach works, and test passes, then go for it
(although I'd like to know what's happening in your setup).
--
Francesc Alted
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users