Michael Droettboom wrote:
This is a years-old known bug in distutils (which it looks like you've already commented on...). I've looked at it many times over those years, and it's really very difficult to fix from outside without terrible monkey-patching hacks that are certain to break on as many systems as they fix. We just may be forced to deal with it at this point, though. (FWIW, we run Solaris here, too, but we build matplotlib on gcc). I'll comment on that bug as well and see if we can get some movement on it.
In the meantime, I'll investigate whether the scons work by David Cournapeau resolves this problem. See here:
Well, on SPARC, the Sun compilers are better than gcc, so there really is an advantage to getting this sorted out.
I do not know SCons myself, but I do know that in the Sage project, SCons has caused many issues. Whether it is a fault of SCons, or the way people write the code for SCons, I do not know.
I know recently someone changed a package that was using SCons, and stripped it all out. There is some code I need to fix, and I will take the same course of action. It seems more trouble than it is worth to me.
Dr. David Kirkby wrote:
I was trying to build matplotlib 0.99.0 as part of Sage
on a Sun Blade 2000 workstation running Solaris 10 update 7, using the Sun Studio compiler version 12.1 (not gcc).
CC and CXX were defined properly as C and C++ compilers, but it would appear that the C compiler is being called to compile the file src/ft2font.cpp, which is of course a C++ file.
You might get away with this with gcc, but the Sun C compiler will not compile C++ code.
Here's the error I get:
/opt/xxxsunstudio12.1/bin/cc -DNDEBUG -O -xcode=pic32 -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/python2.6/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/ -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/python2.6 -c src/ft2font.cpp -o build/temp.solaris-2.10-sun4u-2.6/src/ft2font.o
cc: No valid input files specified, no output generated
error: command '/opt/xxxsunstudio12.1/bin/cc' failed with exit status 1
This is recorded in the Sage trac as:
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
Matplotlib-users mailing list