#7028: matplotlib 0.99.0 tries to use C compiler for C++ code.
----------------------+-----------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: build | Keywords:
Reviewer: | Author:
Merged: |
----------------------+-----------------------------------------------------
Using
* Solaris 10 update 7 on SPARC
* sage-4.1.2.alpha2
* Sun Studio 12.1
* An updated configure script to allow the Sun compiler to be used, I
found that matplotlib-0.99.0 will not build.
CC was set to the Sun C compler, and CXX to the Sun C++ compiler, What
appears to be happening is that matplotlib-0.99.0 is taking the CC
variable but using that to try to build C++ code. Note the extension on
the file the C compiler is trying to compile is '.cc', suggesting to me
that it is really C++ code.
{{{
/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
Error building matplotlib package.
real 0m3.752s
user 0m1.227s
sys 0m1.034s
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7028>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---