[SciPy-user] Mac OS X 10.3 Installation?
rkern at ucsd.edu
Fri Jan 23 18:46:39 CST 2004
On Fri, Jan 23, 2004 at 04:23:43PM -0500, Christopher Fonnesbeck wrote:
> On Jan 23, 2004, at 4:08 PM, Tom Kornack wrote:
> >Has anyone found a recipe for success installing scipy on 10.3? I
> >notice that the scipy fink package hasn't yet been updated for 10.3.
> >My various attempts have ended in failure. Here's the furthest I've
> >gotten using the latest CVS of scipy:
> >sudo python setup.py install
> >building 'scipy.fftpack.convolve' extension
> >gcc -L/sw/lib -bundle -flat_namespace -undefined suppress
> >PowerMacintosh-2.3/convolvemodule.o -L/sw/lib
> >-L/sw/lib/gcc/powerpc-apple-darwin7.2.0/3.4 -L/sw/lib -ldfftpack
> >-ldrfftw -ldfftw -lrootfind -lsuperlu -lmyblas -lc_misc -lcephes -lg2c
> >-o build/lib.darwin-7.2.0-PowerMacintosh-2.3/scipy/fftpack/convolve.so
> >PowerMacintosh-2.3/convolvemodule.o has external relocation entries in
> >non-writable section (__TEXT,__text) for symbols:
> >error: command 'gcc' failed with exit status 1
> >Any ideas what's happening here? I'm running as sudo. I'm not sure
> >what is meant by a 'non-writable section'. I've tried the 0.2.0alpha
> >release as well but don't get as far.
Googling for "restFP saveFP" gave me the fix: add -lcc_dynamic to the
> SciPy works great for me on OSX 10.3. A couple of hints:
> 1. Get /sw out of your library path. Nothing good comes of fink
> software when trying to compile SciPy.
<shrug> Works fine for me using fink's python. This weekend, I'll try
> 2. Make sure you have the apple development tools installed.
> 3. Make sure the "ignore_packages" variable at the end of the setup.py
> file is uncommented.
I have a patch (hack) for the sparse package to make it compile. The
kiva/chaco stuff seems to compile though I haven't tested running it.
> Hope this helps,
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the SciPy-user