Dear Pytables gurus,
I try to install Pytables on my Mac Pro under 10.6.7 and got the following
issue using:
pip install tables
Downloading/unpacking tables
Running setup.py egg_info for package tables
* Found numpy 2.0.0.dev-3071eab package installed.
* Found HDF5 headers at ``/usr/local/include``, library at
``/usr/local/lib``.
* Could not find LZO 2 headers and library; disabling support for it.
* Could not find LZO 1 headers and library; disabling support for it.
* Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``.
warning: no previously-included files matching '*' found under directory
'doc/xml'
Installing collected packages: tables
Found existing installation: tables 2.2.1
Uninstalling tables:
Successfully uninstalled tables
Running setup.py install for tables
* Found numpy 2.0.0.dev-3071eab package installed.
* Found HDF5 headers at ``/usr/local/include``, library at
``/usr/local/lib``.
* Could not find LZO 2 headers and library; disabling support for it.
* Could not find LZO 1 headers and library; disabling support for it.
* Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``.
building 'tables.linkExtension' extension
C compiler: gcc-4.0 -DNDEBUG -g -O3 -arch i386 -arch x86_64
.../...
gcc-4.0: tables/linkExtension.c
i686-apple-darwin10-gcc-4.0.1: tables/linkExtension.c: No such file or directory
i686-apple-darwin10-gcc-4.0.1: no input files
i686-apple-darwin10-gcc-4.0.1: tables/linkExtension.c: No such file or directory
i686-apple-darwin10-gcc-4.0.1: no input files
lipo: can't figure out the architecture type of: /var/tmp//ccNadQDR.out
i686-apple-darwin10-gcc-4.0.1: tables/linkExtension.c: No such file or directory
i686-apple-darwin10-gcc-4.0.1: no input files
i686-apple-darwin10-gcc-4.0.1: tables/linkExtension.c: No such file or directory
i686-apple-darwin10-gcc-4.0.1: no input files
lipo: can't figure out the architecture type of: /var/tmp//ccNadQDR.out
error: Command "gcc-4.0 -DNDEBUG -g -O3 -arch i386 -arch x86_64 -DNDEBUG=1
-DHAVE_BZ2_LIB=1 -Iblosc
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy-2.0.0.dev_3071eab_20110527-py2.6-macosx-10.6-universal.egg/numpy/core/include
-I/usr/include -I/usr/local/include
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
tables/linkExtension.c -o build/temp.macosx-10.6-fat-2.6/tables/linkExtension.o
-arch i386 -arch x86_64 -Isrc -DH5_USE_16_API" failed with exit status 1
I can give more details from the pip.log file, but it is 129 lines long.
I use the following environment variables:
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
export CFLAGS="-arch i386 -arch x86_64"
Thanks for your help,
Cheers,
Jean-Baptiste
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users