[SciPy-user] more OSX build problems

Christopher Fonnesbeck chris at fonnesbeck.org
Tue Nov 25 08:57:32 EST 2003


Thanks Pearu, it seems to get beyond that now, but choking on some  
undefined symbols further along:

gcc -Wl,-F. -Wl,-F. -bundle -framework Python -faltivec  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/Lib/fftpack/src/zfft.o  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/Lib/fftpack/src/drfft.o  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/Lib/fftpack/src/zrfft.o  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/Lib/fftpack/src/zfftnd.o  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/System/Library/Frameworks/ 
Python.framework/Versions/2.3/lib/python2.3/site-packages/f2py2e/src/ 
fortranobject.o  
build/temp.darwin-7.0.0-Power_Macintosh-2.3/build/temp.darwin-7.0.0- 
Power_Macintosh-2.3/_fftpackmodule.o -L/usr/local/lib  
-Lbuild/temp.darwin-7.0.0-Power_Macintosh-2.3  
-Lbuild/temp.darwin-7.0.0-Power_Macintosh-2.3  
-L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4 -L/usr/local/lib  
-ldfftpack -lrfftw -lfftw -lrootfind -lsuperlu -lmyblas -lc_misc  
-lcephes -lg2c -o  
build/lib.darwin-7.0.0-Power_Macintosh-2.3/scipy/fftpack/_fftpack.so
ld: Undefined symbols:
restFP
saveFP
error: command 'gcc' failed with exit status 1

I have tried using the -faltivec flag, but with the same result.

On Nov 25, 2003, at 3:04 AM, Pearu Peterson wrote:

>
>
> On Mon, 24 Nov 2003, Travis E. Oliphant wrote:
>
>> You can also just not compile sparse support for now.  Edit the  
>> setup.py
>> file and comment out the line which includes the sparse package.
>
> With the recent CVS one can disable Scipy modules by adding their
> names to ignore_packages list at the end of setup.py file.
> Or create a customized setup file similar to setup_no_chaco.py.
> For example, create setup_osx.py file containing:
>
>   from setup import setup_package
>   ignore_packages = ['chaco','kiva','freetype','traits', 'sparse']
>   if __name__ == "__main__":
>       setup_package(ignore_packages)
>
> and then use it instead of setup.py.
>
> Pearu
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
>
--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia



More information about the SciPy-User mailing list