[SciPy-user] Re: Scipy help?
Christopher Fonnesbeck
chris at fonnesbeck.org
Mon Apr 26 10:30:59 EDT 2004
On Apr 26, 2004, at 10:23 AM, Pearu Peterson wrote:
>
>
> On Sun, 25 Apr 2004, Christopher Fonnesbeck wrote:
>
>>
>> On Apr 25, 2004, at 1:11 AM, Simon Garrett wrote:
>>
>>> As you can probably see, my installs were all from source tar-balls,
>>> if
>>> that makes any difference, downloaded from the sites pointed at by
>>> the
>>> Mac/SciPy webpage I mentioned.
>>
>> The setup.py file in the 0.3 release needs to be altered before
>> compiling on OSX. In particular, lines 103 and 104 need to be
>> uncommented in order for a successful build. These lines are
>> uncommented in CVS, but not in the 0.3 source tarball.
>
> The setup.py file both in 0.3 tar-ball and CVS contains:
>
> ...
> 101 if __name__ == "__main__":
> 102 ignore_packages = [
> 103 #'sparse',
> 104 #'kiva','freetype','chaco','traits',
> 105 ]
> 106 if sys.platform in ['win32','cygwin']:
> ...
>
> Uncommenting line #104 has not effect as scipy does not contain
> kiva,freetype,.. packages anymore.
> Uncommenting line #103 would disable building sparce module. What are
> the
> sparse building failures on OSX that you want to disable it?
>
Sorry, I didnt mean to send that to the list, but it sounds like its a
good thing that I did. On OSX, building scipy without disabling the
sparse module gives the following error:
gcc -Wl,-F. -Wl,-F. -bundle -framework Python
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/
_zsuperlumodule.o
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/_superlu_utils.o
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/_superluobject.o
-Lbuild/temp.darwin-7.3.0-Power_Macintosh-2.3 -lsuperlu_src -o
build/lib.darwin-7.3.0-Power_Macintosh-2.3/scipy/sparse/_zsuperlu.so
-Wl,-framework -Wl,Accelerate
ld: multiple definitions of symbol _scipy_superlu
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/
_zsuperlumodule.o definition of _scipy_superlu in section
(__DATA,__common)
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/_superluobject.o
definition of _scipy_superlu in section (__DATA,__common)
ld: multiple definitions of symbol _scipy_superlu
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/
_zsuperlumodule.o definition of _scipy_superlu in section
(__DATA,__common)
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/_superluobject.o
definition of _scipy_superlu in section (__DATA,__common)
error: Command "gcc -Wl,-F. -Wl,-F. -bundle -framework Python
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/
_zsuperlumodule.o
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/_superlu_utils.o
build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/_superluobject.o
-Lbuild/temp.darwin-7.3.0-Power_Macintosh-2.3 -lsuperlu_src -o
build/lib.darwin-7.3.0-Power_Macintosh-2.3/scipy/sparse/_zsuperlu.so
-Wl,-framework -Wl,Accelerate" failed with exit status 1
Let me know if you have a fix for this, otherwise I was simply
instructing OSX users to disable the module.
Chris
--
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 and more of our imports come from overseas."
George W. Bush, 25 September 2000
--
Putting http://wecanstopspam.org in your email helps it pass through
overzealous spam filters.
More information about the SciPy-User
mailing list