From: Dominique O. <dom...@gm...> - 2009-10-18 18:59:30
|
On Thu, Oct 15, 2009 at 4:21 PM, Ranjit Chacko <rjc...@gm...> wrote: > I just tried to build pysparse on my mac running 10.5.8 and it failed with > the message below. Why did it fail? >>>python setup.py install [snip] > gcc -g -L/usr/local/lib > -L/Library/Frameworks/Python.framework/Versions/5.0.0/lib -bundle -undefined > dynamic_lookup build/temp.macosx-10.3-i386-2.5/Src/spmatrixmodule.o -o > build/lib.macosx-10.3-i386-2.5/pysparse/spmatrix.so > /usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib > unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0 > collect2: ld returned 1 exit status > error: command 'gcc' failed with exit status 1 Hi Ranjit, I am not entirely sure but my first guess would be that you upgraded to 10.5.8 without upgrading/installing Xcode. Try installing the latest Xcode and let us know if that did it. Thanks for trying out Pysparse! -- Dominique |