I was trying to build matplotlib 0.99.0 as part of Sage

http://www.sagemath.org/

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:

http://trac.sagemath.org/sage_trac/ticket/7028


------------------------------------------------------------------------------
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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to