trouble with installation from svn

Hi all,

I cannot install matplotlib from recent svn.
Here is the output

building 'matplotlib.backends._wxagg' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/local/include -I/usr/include -I. -I/usr/local/lib64/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/local/lib64/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -I/usr/include/python2.5 -c src/_wxagg.cpp -o build/temp.linux-x86_64-2.5/src/_wxagg.o
src/_wxagg.cpp: In function ‘wxImage* convert_agg2image(RendererAgg*, Py::Object)’:
src/_wxagg.cpp:181: error: no match for ‘operator*’ in ‘*aggRenderer->RendererAgg::renderingBuffer’
/usr/include/wx-2.6/wx/datetime.h:2065: note: candidates are: wxTimeSpan operator*(int, const wxTimeSpan&)
/usr/include/wx-2.6/wx/datetime.h:2071: note: wxDateSpan operator*(int, const wxDateSpan&)
/usr/include/wx-2.6/wx/geometry.h:243: note: wxPoint2DInt operator*(const wxPoint2DInt&, const wxPoint2DInt&)
/usr/include/wx-2.6/wx/geometry.h:248: note: wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)
/usr/include/wx-2.6/wx/geometry.h:258: note: wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)
/usr/include/wx-2.6/wx/geometry.h:253: note: wxPoint2DInt operator*(wxDouble, const wxPoint2DInt&)
/usr/include/wx-2.6/wx/geometry.h:263: note: wxPoint2DInt operator*(const wxPoint2DInt&, wxDouble)
/usr/include/wx-2.6/wx/geometry.h:467: note: wxPoint2DDouble operator*(const wxPoint2DDouble&, const wxPoint2DDouble&)
/usr/include/wx-2.6/wx/geometry.h:472: note: wxPoint2DDouble operator*(wxDouble, const wxPoint2DDouble&)
/usr/include/wx-2.6/wx/geometry.h:477: note: wxPoint2DDouble operator*(wxInt32, const wxPoint2DDouble&)
/usr/include/wx-2.6/wx/geometry.h:482: note: wxPoint2DDouble operator*(const wxPoint2DDouble&, wxDouble)
/usr/include/wx-2.6/wx/geometry.h:487: note: wxPoint2DDouble operator*(const wxPoint2DDouble&, wxInt32)
/usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/__multiarray_api.h: At global scope:
/usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/__multiarray_api.h:958: warning: ‘int _import_array()’ defined but not used
error: command 'gcc' failed with exit status 1

Nils

Sorry. That's my bad. This is hopefully now fixed. Try updating to SVN r6351.

Mike

Nils Wagner wrote:

···

  Hi all,

I cannot install matplotlib from recent svn.
Here is the output

building 'matplotlib.backends._wxagg' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/local/include -I/usr/include -I. -I/usr/local/lib64/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/local/lib64/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -I/usr/include/python2.5 -c src/_wxagg.cpp -o build/temp.linux-x86_64-2.5/src/_wxagg.o
src/_wxagg.cpp: In function �wxImage* convert_agg2image(RendererAgg*, Py::Object)�:
src/_wxagg.cpp:181: error: no match for �operator*� in �*aggRenderer->RendererAgg::renderingBuffer�
/usr/include/wx-2.6/wx/datetime.h:2065: note: candidates are: wxTimeSpan operator*(int, const wxTimeSpan&)
/usr/include/wx-2.6/wx/datetime.h:2071: note: wxDateSpan operator*(int, const wxDateSpan&)
/usr/include/wx-2.6/wx/geometry.h:243: note: wxPoint2DInt operator*(const wxPoint2DInt&, const wxPoint2DInt&)
/usr/include/wx-2.6/wx/geometry.h:248: note: wxPoint2DInt operator*(wxInt32, const wxPoint2DInt&)
/usr/include/wx-2.6/wx/geometry.h:258: note: wxPoint2DInt operator*(const wxPoint2DInt&, wxInt32)
/usr/include/wx-2.6/wx/geometry.h:253: note: wxPoint2DInt operator*(wxDouble, const wxPoint2DInt&)
/usr/include/wx-2.6/wx/geometry.h:263: note: wxPoint2DInt operator*(const wxPoint2DInt&, wxDouble)
/usr/include/wx-2.6/wx/geometry.h:467: note: wxPoint2DDouble operator*(const wxPoint2DDouble&, const wxPoint2DDouble&)
/usr/include/wx-2.6/wx/geometry.h:472: note: wxPoint2DDouble operator*(wxDouble, const wxPoint2DDouble&)
/usr/include/wx-2.6/wx/geometry.h:477: note: wxPoint2DDouble operator*(wxInt32, const wxPoint2DDouble&)
/usr/include/wx-2.6/wx/geometry.h:482: note: wxPoint2DDouble operator*(const wxPoint2DDouble&, wxDouble)
/usr/include/wx-2.6/wx/geometry.h:487: note: wxPoint2DDouble operator*(const wxPoint2DDouble&, wxInt32)
/usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/__multiarray_api.h: At global scope:
/usr/local/lib64/python2.5/site-packages/numpy/core/include/numpy/__multiarray_api.h:958: warning: �int _import_array()� defined but not used
error: command 'gcc' failed with exit status 1

Nils

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA