[Numpy-discussion] Import error in builds of 7726

Chris fonnesbeck at gmail.com
Wed Nov 11 16:57:09 EST 2009


David Cournapeau <david <at> ar.media.kyoto-u.ac.jp> writes:

> Did you make sure to build from scratch and clean the working directory
> first ?
> 
> I don't see the error on my macbook: umath.so has npy_cexp* functions
> defined.
> 
> David
> 

Yeah, here is my build script -- it removes the build directory entirely:


#!/bin/sh
export MACOSX_DEPLOYMENT_TARGET=10.6
export CFLAGS="-arch i386 -arch x86_64"
export FFLAGS="-arch i386 -arch x86_64"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle 
-arch i386 -arch x86_64"
rm -rf build
python setupegg.py config_fc --fcompiler gfortran config -
L/Developer/src/freetype-2.3.5 -L/Developer/src/libpng-1.2.24 
build bdist_egg




More information about the NumPy-Discussion mailing list