py-matplotlib install failure

Kevin Horton khorton01 at rogers.com
Tue Feb 27 06:56:29 PST 2007


I saw that the py-matplotlib port had been updated, so I made another attempt to install it.  This attempt failed:

% sudo port install py-matplotlib
Password:
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_Volumes_Maxtor_300_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-matplotlib/work/matplotlib-0.87.6" && MPLIB_BASE="/opt/local" /opt/local/bin/python2.4 setup.py build" returned error 1
Command output: setup.py:225: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or activly maintained.  Please switch to the wx package as soon as possible.
  try: import wxPython
GTK requires pygtk
running build
running build_py
running build_ext
building 'matplotlib.backends._wxagg' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I/opt/local/include -I/usr/include -I/opt/local/include/python2.4 -I. -Isrc -Iswig -Iagg23/include -I. -I/opt/local/include -I/usr/include -I/opt/local/include/python2.4 -I. -I/opt/local/include/freetype2 -I/usr/include/freetype2 -I/opt/local/include/python2.4/freetype2 -I./freetype2 -Isrc/freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2 -I/opt/local/include/freetype2 -I/usr/include/freetype2 -I/opt/local/include/python2.4/freetype2 -I./freetype2 -I/opt/local/include -I/usr/include -I/opt/local/include/python2.4 -I. -I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/_wxagg.cpp -o build/temp.darwin-8.8.0-Power_Macintosh-2.4/src/_wxagg.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
src/_wxagg.cpp: In function 'wxBitmap* convert_agg2bitmap(RendererAgg*, Bbox*)':
src/_wxagg.cpp:238: error: conversion from 'wxImage*' to 'const wxString' is ambiguous
/opt/local/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/opt/local/include/wx-2.8/wx/string.h:682: note:                 wxString::wxString(int) <near match>
./CXX/Extensions.hxx: In constructor 'Py::PythonExtension<T>::PythonExtension() [with T = BufferRegion]':
src/_backend_agg.h:50:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor 'Py::PythonExtension<T>::PythonExtension() [with T = LazyValue]':
src/_transforms.h:27:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor 'Py::PythonExtension<T>::PythonExtension() [with T = Func]':
src/_transforms.h:379:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor 'Py::PythonExtension<T>::PythonExtension() [with T = FuncXY]':
src/_transforms.h:466:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
./CXX/Extensions.hxx: In constructor 'Py::PythonExtension<T>::PythonExtension() [with T = Transformation]':
src/_transforms.h:538:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Error: Status 1 encountered during processing.

--
Kevin Horton




More information about the macports-users mailing list