SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S


1
(47)
2
(13)
3
(12)
4
(16)
5
(3)
6
(6)
7
(20)
8
(45)
9
(24)
10
(30)
11
(14)
12
(4)
13
(1)
14
(6)
15
(6)
16
(10)
17
(15)
18
(13)
19
(4)
20
21
(14)
22
(13)
23
(9)
24
(19)
25
(24)
26
27
(4)
28
(20)
29
(17)
30
(7)



Showing 4 results of 4

From: Christopher B. <cbr...@gm...> - 2010年06月12日 22:57:35
On an iMac running 10.6.3, python 2.6.4 I have installed numpy and then matplotlib using 'pip'.
The message in both cases was that the install was successful.
'import matplotlib' does not cause error messages.
'from pylab import randn, hist' gets a traceback with the message "ImportError: No module named ma"
How do I get matplotlib to work?
Thank you for any help.
Christopher
------
>>> from pylab import randn, hist
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/__init__.py:62: DeprecationWarning: the md5 module is deprecated; use hashlib instead
 import md5, os, re, shutil, sys, warnings
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pytz/tzinfo.py:5: DeprecationWarning: the sets module is deprecated
 from sets import Set
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pylab.py", line 1, in <module>
 from matplotlib.pylab import *
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/pylab.py", line 206, in <module>
 from matplotlib.numerix import npyma as ma
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/numerix/__init__.py", line 166, in <module>
 __import__('ma', g, l)
 File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/numerix/ma/__init__.py", line 16, in <module>
 from numpy.core.ma import *
ImportError: No module named ma
------
From: Miguel de V. B. <mig...@gm...> - 2010年06月12日 20:27:10
Hi,
I would like to set the limits of the x axis and get the y scale
adjusted to the new range. I have tried something like
plot.axis('tight', xmin=0, xmax=1), but this shows all the data as
indicated in the documentation. Is there any way to limit the x axis
and set the y axis to tight?
Thanks,
Miguel
From: Eric F. <ef...@ha...> - 2010年06月12日 01:49:28
On 06/11/2010 03:24 PM, Dr. David Kirkby wrote:
> On 06/11/10 10:28 PM, Eric Firing wrote:
>> On 06/11/2010 10:54 AM, Dr. David Kirkby wrote:
>>> The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC.
>>>
>>> However, your latest trunc release has some useful fixes, so it was downloaded
>>> by a fellow Sage devloper. However, when I try to build this version on a Sun
>>> Blade 1000 running Solaris 10 03/05, it presents a problem:
>>>
>>> /usr/include/stdlib.h:144: error: declaration of C function 'void swab(const
>>> char*, char*, ssize_t)' conflicts with
>>> /usr/include/unistd.h:480: error: previous declaration 'void swab(const void*,
>>> void*, ssize_t)' here
>>> error: command 'gcc' failed with exit status 1
>>> Error building matplotlib package.
>>>
>>>
>>> There are two declarations of 'swab' in the Solaris header files, and what one
>>> you get depends on the compilation mode. The reasons are explained in the
>>> Solaris header files.
>>>
>>> The issue is traced at
>>>
>>> http://trac.sagemath.org/sage_trac/ticket/9202
>>>
>>> where you will see the full error message and attachments of the header files.
>>>
>>> For this, gcc 4.4.4 was used.
>>
>> Can you get it to work by adding "-D_XOPEN_SOURCE" to your CFLAGS
>> environment variable?
>>
>> Eric
>
> I did reply, but I think off-list by mistake. So I'll reply to the list.
>
> I think this actually causes the build to break earlier.
>
> Do you have access to Sun SPARC hardware? If not, I can almost certainly arrange
> access to a Sun T5240 (16 core) at the University of Washington for a serious
> matplotlib developer.
Dave,
Thanks, but much as I would like to see this problem solved, I don't 
really want to get sucked into it. I haven't messed with Suns for many 
years, and I am not eager to resume.
Did you compile the previous version of matplotlib that you used on your 
machine, or did someone else there do it?
Have you looked at the Cookbook entry?
http://www.scipy.org/Cookbook/Matplotlib/CompilingMatPlotLibOnSolaris10
Eric
>
> Dave
>
>
> ld/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_image
> copying lib/matplotlib/tests/baseline_images/test_image/image_interps.svg -> bui
> ld/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_image
> creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext.pdf -> build
> /lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext.png -> build
> /lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext.svg -> build
> /lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stix.pdf ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stix.png ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stix.svg ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stixsans.pdf
> -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_matht
> ext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stixsans.png
> -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_matht
> ext
> copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stixsans.svg
> -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_matht
> ext
> creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> simplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/clipping.pdf ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
> cation
> copying lib/matplotlib/tests/baseline_images/test_simplification/clipping.png ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
> cation
> copying lib/matplotlib/tests/baseline_images/test_simplification/clipping.svg ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
> cation
> copying lib/matplotlib/tests/baseline_images/test_simplification/clipping_diamon
> d.pdf -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> simplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/clipping_diamon
> d.png -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> simplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/clipping_diamon
> d.svg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> simplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/fft_peaks.pdf -
> > build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplif
> ication
> copying lib/matplotlib/tests/baseline_images/test_simplification/fft_peaks.png -
> > build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplif
> ication
> copying lib/matplotlib/tests/baseline_images/test_simplification/fft_peaks.svg -
> > build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplif
> ication
> copying lib/matplotlib/tests/baseline_images/test_simplification/hatch_simplify.
> pdf -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
> mplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/hatch_simplify.
> png -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
> mplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/hatch_simplify.
> svg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
> mplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/overflow.pdf ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
> cation
> copying lib/matplotlib/tests/baseline_images/test_simplification/overflow.png ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
> cation
> copying lib/matplotlib/tests/baseline_images/test_simplification/overflow.svg ->
> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
> cation
> copying lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.
> pdf -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
> mplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.
> png -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
> mplification
> copying lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.
> svg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
> mplification
> creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> spines
> copying lib/matplotlib/tests/baseline_images/test_spines/spines_axes_positions.p
> df -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_spi
> nes
> copying lib/matplotlib/tests/baseline_images/test_spines/spines_axes_positions.p
> ng -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_spi
> nes
> copying lib/matplotlib/tests/baseline_images/test_spines/spines_axes_positions.s
> vg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_spi
> nes
> creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
> text
> copying lib/matplotlib/tests/baseline_images/test_text/font_styles.pdf -> build/
> lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
> copying lib/matplotlib/tests/baseline_images/test_text/font_styles.png -> build/
> lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
> copying lib/matplotlib/tests/baseline_images/test_text/font_styles.svg -> build/
> lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
> copying lib/matplotlib/tests/baseline_images/test_text/multiline.pdf -> build/li
> b.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
> copying lib/matplotlib/tests/baseline_images/test_text/multiline.png -> build/li
> b.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
> copying lib/matplotlib/tests/baseline_images/test_text/multiline.svg -> build/li
> b.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
> copying lib/dateutil/zoneinfo/zoneinfo-2010g.tar.gz -> build/lib.solaris-2.10-su
> n4u-2.6/dateutil/zoneinfo
> running build_ext
> building 'matplotlib.ft2font' extension
> creating build/temp.solaris-2.10-sun4u-2.6
> creating build/temp.solaris-2.10-sun4u-2.6/src
> creating build/temp.solaris-2.10-sun4u-2.6/CXX
> gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
> _ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
> /32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
> me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
> e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c src/ft2font.cpp -
> o build/temp.solaris-2.10-sun4u-2.6/src/ft2font.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
> bjC but not for C++
> <command-line>: warning: "_XOPEN_SOURCE" redefined
> <built-in>: warning: this is the location of the previous definition
> In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:8,
> from ./CXX/WrapPython.h:58,
> from ./CXX/Extensions.hxx:37,
> from src/ft2font.h:4,
> from src/ft2font.cpp:1:
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
> arning: "_FILE_OFFSET_BITS" redefined
> In file included from /usr/include/sys/time.h:24,
> from ./CXX/WrapPython.h:43,
> from ./CXX/Extensions.hxx:37,
> from src/ft2font.h:4,
> from src/ft2font.cpp:1:
> /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
> re_tests.h:197:1: warning: this is the location of the previous definition
> src/ft2font.cpp: In member function 'Py::Object FT2Font::get_sfnt_table(const Py
> ::Tuple&)':
> src/ft2font.cpp:1569: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1572: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1597: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1661: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1684: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1705: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1708: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> src/ft2font.cpp:1725: warning: dereferencing type-punned pointer will break stri
> ct-aliasing rules
> gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
> _ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
> /32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
> me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
> e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c src/mplutils.cpp
> -o build/temp.solaris-2.10-sun4u-2.6/src/mplutils.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
> bjC but not for C++
> <command-line>: warning: "_XOPEN_SOURCE" redefined
> <built-in>: warning: this is the location of the previous definition
> gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
> _ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
> /32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
> me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
> e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/cxx_extension
> s.cxx -o build/temp.solaris-2.10-sun4u-2.6/CXX/cxx_extensions.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
> bjC but not for C++
> <command-line>: warning: "_XOPEN_SOURCE" redefined
> <built-in>: warning: this is the location of the previous definition
> In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:8,
> from ./CXX/WrapPython.h:58,
> from CXX/cxx_extensions.cxx:37:
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
> arning: "_FILE_OFFSET_BITS" redefined
> In file included from /usr/include/sys/time.h:24,
> from ./CXX/WrapPython.h:43,
> from CXX/cxx_extensions.cxx:37:
> /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
> re_tests.h:197:1: warning: this is the location of the previous definition
> gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
> _ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
> /32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
> me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
> e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/cxxsupport.cx
> x -o build/temp.solaris-2.10-sun4u-2.6/CXX/cxxsupport.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
> bjC but not for C++
> <command-line>: warning: "_XOPEN_SOURCE" redefined
> <built-in>: warning: this is the location of the previous definition
> In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:8,
> from ./CXX/WrapPython.h:58,
> from CXX/cxxsupport.cxx:37:
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
> arning: "_FILE_OFFSET_BITS" redefined
> In file included from /usr/include/sys/time.h:24,
> from ./CXX/WrapPython.h:43,
> from CXX/cxxsupport.cxx:37:
> /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
> re_tests.h:197:1: warning: this is the location of the previous definition
> gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
> _ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
> /32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
> me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
> e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/IndirectPytho
> nInterface.cxx -o build/temp.solaris-2.10-sun4u-2.6/CXX/IndirectPythonInterface.
> o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
> bjC but not for C++
> <command-line>: warning: "_XOPEN_SOURCE" redefined
> <built-in>: warning: this is the location of the previous definition
> In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:8,
> from ./CXX/WrapPython.h:58,
> from CXX/IndirectPythonInterface.cxx:37:
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
> arning: "_FILE_OFFSET_BITS" redefined
> In file included from /usr/include/sys/time.h:24,
> from ./CXX/WrapPython.h:43,
> from CXX/IndirectPythonInterface.cxx:37:
> /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
> re_tests.h:197:1: warning: this is the location of the previous definition
> gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
> _ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
> /32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
> me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
> e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/cxxextensions
> .c -o build/temp.solaris-2.10-sun4u-2.6/CXX/cxxextensions.o
> In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:8,
> from ./CXX/WrapPython.h:58,
> from CXX/cxxextensions.c:37:
> /export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
> arning: "_FILE_OFFSET_BITS" redefined
> In file included from /usr/include/sys/time.h:24,
> from ./CXX/WrapPython.h:43,
> from CXX/cxxextensions.c:37:
> /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
> re_tests.h:197:1: warning: this is the location of the previous definition
> In file included from /usr/include/sys/wait.h:23,
> from /usr/include/stdlib.h:22,
> from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:42,
> from ./CXX/WrapPython.h:58,
> from CXX/cxxextensions.c:37:
> /usr/include/sys/resource.h:146: error: field 'ru_utime' has incomplete type
> /usr/include/sys/resource.h:147: error: field 'ru_stime' has incomplete type
> In file included from /usr/include/sys/termio.h:13,
> from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/pyport.h:472,
> from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
> 6/Python.h:58,
> from ./CXX/WrapPython.h:58,
> from CXX/cxxextensions.c:37:
> /usr/include/sys/termios.h:375: error: field 'tv' has incomplete type
> error: command 'gcc' failed with exit status 1
> Error building matplotlib package.
>
> real 0m51.119s
> user 0m47.346s
> sys 0m3.132s
> sage: An error occurred while installing matplotlib-0.99.3-svn8415-with-D_XOPEN_
> SOURCE
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Dr. D. K. <dav...@on...> - 2010年06月12日 01:24:45
On 06/11/10 10:28 PM, Eric Firing wrote:
> On 06/11/2010 10:54 AM, Dr. David Kirkby wrote:
>> The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC.
>>
>> However, your latest trunc release has some useful fixes, so it was downloaded
>> by a fellow Sage devloper. However, when I try to build this version on a Sun
>> Blade 1000 running Solaris 10 03/05, it presents a problem:
>>
>> /usr/include/stdlib.h:144: error: declaration of C function 'void swab(const
>> char*, char*, ssize_t)' conflicts with
>> /usr/include/unistd.h:480: error: previous declaration 'void swab(const void*,
>> void*, ssize_t)' here
>> error: command 'gcc' failed with exit status 1
>> Error building matplotlib package.
>>
>>
>> There are two declarations of 'swab' in the Solaris header files, and what one
>> you get depends on the compilation mode. The reasons are explained in the
>> Solaris header files.
>>
>> The issue is traced at
>>
>> http://trac.sagemath.org/sage_trac/ticket/9202
>>
>> where you will see the full error message and attachments of the header files.
>>
>> For this, gcc 4.4.4 was used.
>
> Can you get it to work by adding "-D_XOPEN_SOURCE" to your CFLAGS
> environment variable?
>
> Eric
I did reply, but I think off-list by mistake. So I'll reply to the list.
I think this actually causes the build to break earlier.
Do you have access to Sun SPARC hardware? If not, I can almost certainly arrange 
access to a Sun T5240 (16 core) at the University of Washington for a serious 
matplotlib developer.
Dave
ld/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_image
copying lib/matplotlib/tests/baseline_images/test_image/image_interps.svg -> bui
ld/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_image
creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext.pdf -> build
/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext.png -> build
/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext.svg -> build
/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stix.pdf ->
build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stix.png ->
build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stix.svg ->
build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_mathtext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stixsans.pdf
 -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_matht
ext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stixsans.png
 -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_matht
ext
copying lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_stixsans.svg
 -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_matht
ext
creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
simplification
copying lib/matplotlib/tests/baseline_images/test_simplification/clipping.pdf ->
 build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
cation
copying lib/matplotlib/tests/baseline_images/test_simplification/clipping.png ->
 build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
cation
copying lib/matplotlib/tests/baseline_images/test_simplification/clipping.svg ->
 build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
cation
copying lib/matplotlib/tests/baseline_images/test_simplification/clipping_diamon
d.pdf -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
simplification
copying lib/matplotlib/tests/baseline_images/test_simplification/clipping_diamon
d.png -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
simplification
copying lib/matplotlib/tests/baseline_images/test_simplification/clipping_diamon
d.svg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
simplification
copying lib/matplotlib/tests/baseline_images/test_simplification/fft_peaks.pdf -
 > build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplif
ication
copying lib/matplotlib/tests/baseline_images/test_simplification/fft_peaks.png -
 > build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplif
ication
copying lib/matplotlib/tests/baseline_images/test_simplification/fft_peaks.svg -
 > build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplif
ication
copying lib/matplotlib/tests/baseline_images/test_simplification/hatch_simplify.
pdf -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
mplification
copying lib/matplotlib/tests/baseline_images/test_simplification/hatch_simplify.
png -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
mplification
copying lib/matplotlib/tests/baseline_images/test_simplification/hatch_simplify.
svg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
mplification
copying lib/matplotlib/tests/baseline_images/test_simplification/overflow.pdf ->
 build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
cation
copying lib/matplotlib/tests/baseline_images/test_simplification/overflow.png ->
 build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
cation
copying lib/matplotlib/tests/baseline_images/test_simplification/overflow.svg ->
 build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_simplifi
cation
copying lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.
pdf -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
mplification
copying lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.
png -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
mplification
copying lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.
svg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_si
mplification
creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
spines
copying lib/matplotlib/tests/baseline_images/test_spines/spines_axes_positions.p
df -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_spi
nes
copying lib/matplotlib/tests/baseline_images/test_spines/spines_axes_positions.p
ng -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_spi
nes
copying lib/matplotlib/tests/baseline_images/test_spines/spines_axes_positions.s
vg -> build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_spi
nes
creating build/lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_
text
copying lib/matplotlib/tests/baseline_images/test_text/font_styles.pdf -> build/
lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
copying lib/matplotlib/tests/baseline_images/test_text/font_styles.png -> build/
lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
copying lib/matplotlib/tests/baseline_images/test_text/font_styles.svg -> build/
lib.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
copying lib/matplotlib/tests/baseline_images/test_text/multiline.pdf -> build/li
b.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
copying lib/matplotlib/tests/baseline_images/test_text/multiline.png -> build/li
b.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
copying lib/matplotlib/tests/baseline_images/test_text/multiline.svg -> build/li
b.solaris-2.10-sun4u-2.6/matplotlib/tests/baseline_images/test_text
copying lib/dateutil/zoneinfo/zoneinfo-2010g.tar.gz -> build/lib.solaris-2.10-su
n4u-2.6/dateutil/zoneinfo
running build_ext
building 'matplotlib.ft2font' extension
creating build/temp.solaris-2.10-sun4u-2.6
creating build/temp.solaris-2.10-sun4u-2.6/src
creating build/temp.solaris-2.10-sun4u-2.6/CXX
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
/32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c src/ft2font.cpp -
o build/temp.solaris-2.10-sun4u-2.6/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
<command-line>: warning: "_XOPEN_SOURCE" redefined
<built-in>: warning: this is the location of the previous definition
In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:8,
 from ./CXX/WrapPython.h:58,
 from ./CXX/Extensions.hxx:37,
 from src/ft2font.h:4,
 from src/ft2font.cpp:1:
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
arning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/sys/time.h:24,
 from ./CXX/WrapPython.h:43,
 from ./CXX/Extensions.hxx:37,
 from src/ft2font.h:4,
 from src/ft2font.cpp:1:
/usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
re_tests.h:197:1: warning: this is the location of the previous definition
src/ft2font.cpp: In member function 'Py::Object FT2Font::get_sfnt_table(const Py
::Tuple&)':
src/ft2font.cpp:1569: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1572: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1597: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1661: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1684: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1705: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1708: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
src/ft2font.cpp:1725: warning: dereferencing type-punned pointer will break stri
ct-aliasing rules
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
/32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c src/mplutils.cpp
-o build/temp.solaris-2.10-sun4u-2.6/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
<command-line>: warning: "_XOPEN_SOURCE" redefined
<built-in>: warning: this is the location of the previous definition
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
/32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/cxx_extension
s.cxx -o build/temp.solaris-2.10-sun4u-2.6/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
<command-line>: warning: "_XOPEN_SOURCE" redefined
<built-in>: warning: this is the location of the previous definition
In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:8,
 from ./CXX/WrapPython.h:58,
 from CXX/cxx_extensions.cxx:37:
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
arning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/sys/time.h:24,
 from ./CXX/WrapPython.h:43,
 from CXX/cxx_extensions.cxx:37:
/usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
re_tests.h:197:1: warning: this is the location of the previous definition
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
/32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/cxxsupport.cx
x -o build/temp.solaris-2.10-sun4u-2.6/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
<command-line>: warning: "_XOPEN_SOURCE" redefined
<built-in>: warning: this is the location of the previous definition
In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:8,
 from ./CXX/WrapPython.h:58,
 from CXX/cxxsupport.cxx:37:
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
arning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/sys/time.h:24,
 from ./CXX/WrapPython.h:43,
 from CXX/cxxsupport.cxx:37:
/usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
re_tests.h:197:1: warning: this is the location of the previous definition
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
/32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/IndirectPytho
nInterface.cxx -o build/temp.solaris-2.10-sun4u-2.6/CXX/IndirectPythonInterface.
o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/O
bjC but not for C++
<command-line>: warning: "_XOPEN_SOURCE" redefined
<built-in>: warning: this is the location of the previous definition
In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:8,
 from ./CXX/WrapPython.h:58,
 from CXX/IndirectPythonInterface.cxx:37:
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
arning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/sys/time.h:24,
 from ./CXX/WrapPython.h:43,
 from CXX/IndirectPythonInterface.cxx:37:
/usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
re_tests.h:197:1: warning: this is the location of the previous definition
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_XOPEN_SOURCE -fPIC -DPY
_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/export/home/drkirkby
/32/sage-4.4.3/local/lib/python2.6/site-packages/numpy/core/include -I/export/ho
me/drkirkby/32/sage-4.4.3/local/include/freetype2 -I/export/home/drkirkby/32/sag
e-4.4.3/local/include -I/export/home/drkirkby/32/sage-4.4.3/local/include -I. -I
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6 -c CXX/cxxextensions
.c -o build/temp.solaris-2.10-sun4u-2.6/CXX/cxxextensions.o
In file included from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:8,
 from ./CXX/WrapPython.h:58,
 from CXX/cxxextensions.c:37:
/export/home/drkirkby/32/sage-4.4.3/local/include/python2.6/pyconfig.h:1013:1: w
arning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/sys/time.h:24,
 from ./CXX/WrapPython.h:43,
 from CXX/cxxextensions.c:37:
/usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/featu
re_tests.h:197:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/wait.h:23,
 from /usr/include/stdlib.h:22,
 from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:42,
 from ./CXX/WrapPython.h:58,
 from CXX/cxxextensions.c:37:
/usr/include/sys/resource.h:146: error: field 'ru_utime' has incomplete type
/usr/include/sys/resource.h:147: error: field 'ru_stime' has incomplete type
In file included from /usr/include/sys/termio.h:13,
 from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/pyport.h:472,
 from /export/home/drkirkby/32/sage-4.4.3/local/include/python2.
6/Python.h:58,
 from ./CXX/WrapPython.h:58,
 from CXX/cxxextensions.c:37:
/usr/include/sys/termios.h:375: error: field 'tv' has incomplete type
error: command 'gcc' failed with exit status 1
Error building matplotlib package.
real 0m51.119s
user 0m47.346s
sys 0m3.132s
sage: An error occurred while installing matplotlib-0.99.3-svn8415-with-D_XOPEN_
SOURCE
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of

Showing 4 results of 4

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /