[Pythonmac-SIG] Installing pygsl

Drew McCormack drewmccormack at mac.com
Fri Nov 21 10:00:13 EST 2003


I am trying to install pygsl on 10.3.1, but quickly run into problems.  
Here is what I get:

cormack terbium: sudo python setup.py --gsl-prefix=/usr/local build
running build
running build_py
running build_ext
building '__callback' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall  
-Wstrict-prototypes -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1  
-DPYGSL_GSL_MINOR_VERSION=4 -I/usr/local/include -Isrc/callback -I.  
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
python2.3 -c swig_src/callback_wrap.c -o  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/swig_src/callback_wrap.o
In file included from typemaps/gsl_function_helpers.ic:26,
                  from swig_src/callback_wrap.c:702:
typemaps/gsl_block_helpers.ic:15:20: malloc.h: No such file or directory
typemaps/gsl_block_helpers.ic:17:33: Numeric/arrayobject.h: No such  
file or directory


Apparently it can't find malloc.h or the Numeric header file  
arrayobject.h. Anyone know why this might be? Is there an environment  
variable I need to set? I would have thought the standard version of  
python in panther would know where Numeric was installed (yes, I did  
install the source code as well as the binaries).

Drew




More information about the Pythonmac-SIG mailing list