When I encountered this issue, if I recall correctly, I fixed it by installing pysparse via fink.
On Wed, Jan 6, 2010 at 4:48 PM, Daniel Wheeler <[email protected]>wrote: > > As a quick and dirty fix you can simply copy and paste the command to > the command line and delete the offending argument and then rerun > "python setup.py install". You may need to do this a few times. > > On Wed, Jan 6, 2010 at 4:32 PM, Glenn Fulford <[email protected]> > wrote: > > > > thanks, > > > > I am using gcc 4.2.1. > > > > I did a google search on gcc and no-long-float, and it seems that gcc no > longer recognises the no-long-float directive. > > I had a look in setup.py for pysparse, and could not find anywhere there > where this was being called, so that I could just delete this directive. > > > > Any suggestions where I might look for this? > > > > thanks, Glenn > > > > > > > > ________________________________________ > > From: [email protected] [[email protected]] On Behalf Of Daniel Wheeler [ > [email protected]] > > Sent: Thursday, 7 January 2010 1:22 AM > > To: Multiple recipients of list > > Subject: Re: install pysparse problem > > > > Hi Glenn, I had a mac for awhile and this issue looks vaguely familiar > > but I can't remember the solution. My colleagues both have macs so > > they might weigh in and you might also want to try the pysparse > > mailing list as well. Cheers > > > > On Wed, Jan 6, 2010 at 12:41 AM, Glenn Fulford <[email protected]> > wrote: > >> > >> I am trying to install fipy on a Mac, but stuck at the pysparse step. > >> > >> I have installed the enthoughtpythonedition5.1.1 (based on python 2.5). > >> Using easy_install, as suggested on the fipy webpage did not work, it > doesn't appear to be in the pypi index. > >> > >> I tried to install it manually, using python setup.py install but get an > error that -Wno-long-double is not recognised (see below) > >> > >> Can anyone help? (I am not all that familiar with unix, just wanted to > try out fipy). > >> > >> any suggestions? thanks, Glenn > >> > >> > >> > >> Glenn-Fulfords-iMac:pysparse-1.1 Glenn$ python setup.py install > >> running install > >> running build > >> running build_py > >> running build_ext > >> building 'pysparse.spmatrix' extension > >> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp > -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 > -I/Library/Frameworks/Python.framework/Versions/5.1.1/include -DNUMPY=1 > -IInclude > -I/Library/Frameworks/Python.framework/Versions/5.1.1/lib/python2.5/site-packages/numpy/core/include > -I/Library/Frameworks/Python.framework/Versions/5.1.1/include/python2.5 -c > Src/spmatrixmodule.c -o build/temp.macosx-10.3-i386-2.5/Src/spmatrixmodule.o > >> cc1: error: unrecognized command line option "-Wno-long-double" > >> error: command 'gcc' failed with exit status 1 > >> > >> > >> Computer: iMac intel > >> OS: MacOSX v10.6.2 > >> > >> > >> > >> > > > > > > > > -- > > Daniel Wheeler > > > > > > > > > > > > > > -- > Daniel Wheeler > > >
