I've also seen similar messages in the past, although not with installing pysparse. I don't recall the exact details, but I seem to remember that its related to the version of gcc that is used, do you know which you're using? (gcc -v in the console).
Eddie Schwalbach On Wed, Jan 6, 2010 at 9:22 AM, Daniel Wheeler <[email protected]>wrote: > > 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 > > >
