On 8 March 2010 01:09, Massimo Di Stefano <massimodisa...@gmail.com> wrote:
> Hi Tony,
> this my python, gcc version and PATH :
> which python
> /usr/bin/python
> python -V
> Python 2.6.1
> gcc -v
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking
> --enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
> --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
> --target=i686-apple-darwin10
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

That all looks fine

> echo $PATH
> /Library/Frameworks/GDAL.framework/Programs:/Library/Frameworks/SQLite3.framework/Programs:/Library/Frameworks/GEOS.framework/Programs:/Library/Frameworks/PROJ.framework/Programs:/Library/Frameworks/UnixImageIO.framework/Programs:/Applications/GRASS-6.4.app/Contents/MacOS/:/Users/sasha/.local/bin/:/usr/local/OTB-APP/bin:/usr/local/osg/bin:/Library/Frameworks/MapServer.framework/Programs:/Library/Frameworks/GSL.framework/Versions/1/unix/bin:/Library/Frameworks/FreeType.framework/Versions/2.3/unix/bin:/Library/Frameworks/cairo.framework/Versions/1/unix/bin:/usr/local/Trolltech/Qt-4.6.0/bin:/usr/local/pgsql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mongodb/bin:/usr/texbin:/usr/X11/bin

Do any of those frameworks include hdf5?

[...]

> how can i try to modify the py-tables build instructions to force to use
> only the "x86_64" arch ?

I don't think that's it. I just tried the following on a fairly clean install:

numpy and pyrex
    easy_install numpy pyrex

lzo, zlib
    ./configure && make
    sudo make install

szip, hdf5
    ./configure --prefix=/usr/local && make
    sudo make install

pytables 2.2b3
    python setup.py build_ext --inplace

There were a lot of "architecture" warnings, but all the tests still pass.

I'll have to think about it some more, I don't think it's the svn
versions either, something to do with hdf5.

Tony

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to