I am trying to install pCFITSIO on my Mac (Mac OS X.4. Numarray is already installed and imports fine in python (ActivePhyton v2.4.2), but when I try to build pCFITSIO it fails in finding a number of .h files for numarray.
[tgravi] Desktop/pCFITSIO-0.99.3 ->python setup.py build running build running build_py running build_ext building 'pcfitsio' extension gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fPIC -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/cfitsio/include/ -I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c pcfitsio_wrap.c -o build/temp.darwin-8.6.0-Power_Macintosh-2.4/pcfitsio_wrap.o In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55, from pcfitsio_wrap.c:50: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396: warning: 'struct winsize' declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397: warning: 'struct winsize' declared inside parameter list In file included from pcfitsio_wrap.c:566: fitsio.h:2:34: error: numarray/arrayobject.h: No such file or directory
But it does not seem like numarray left any files like this on the system. Anyone run into this problem as well and know of a fix? Or is there another fits extension out there?
Cheers Tommy
[EMAIL PROTECTED] http://homepage.mac.com/tgrav/
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction" -- Albert Einstein
|
--
http://mail.python.org/mailman/listinfo/python-list