port install py26-wxpython

Claus clausenator at gmail.com
Tue Mar 16 23:19:08 PDT 2010


Hi,
I am trying to install py26-wxpython. I get an error message which doesn't tell me much. Does anyone have an idea?

Thanks,
Claus


sudo port install py26-wxpython -d
--->  Computing dependencies for py26-wxpython
--->  Building py26-wxpython
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-wxpython/work/wxPython-src-2.8.9.1/wxPython" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py build " returned error 1
Command output:                  from include/wx/wxPython/wxPython.h:22,
                 from src/mac/_gdi_wrap.cpp:2736:
/opt/local/lib/wx/include/mac-unicode-release-2.8/wx/setup.h:962:1: warning: "SIZEOF_SIZE_T" redefined
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:9,
                 from src/mac/_gdi_wrap.cpp:129:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pymacconfig.h:37:1: warning: this is the location of the previous definition
src/mac/_gdi_wrap.cpp: In function 'void SWIG_Python_AddErrorMsg(const char*)':
src/mac/_gdi_wrap.cpp:864: warning: format not a string literal and no format arguments
In file included from src/mac/_gdi_wrap.cpp:2736:
include/wx/wxPython/wxPython.h: In function 'bool wxPyCoreAPI_IMPORT()':
include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string constant to 'char*'
include/wx/wxPython/wxPython.h:39: warning: deprecated conversion from string constant to 'char*'
src/mac/_gdi_wrap.cpp: In function 'wxPalette* new_wxPalette(const wxArrayInt&, const wxArrayInt&, const wxArrayInt&)':
src/mac/_gdi_wrap.cpp:2883: warning: comparison between signed and unsigned integer expressions
src/mac/_gdi_wrap.cpp:2883: warning: comparison between signed and unsigned integer expressions
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_Font_MacGetATSUFontID(PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:15850: error: 'class wxFont' has no member named 'MacGetATSUFontID'
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_PenList_AddPen(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:32884: warning: 'AddPen' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:516)
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_PenList_RemovePen(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:32922: warning: 'RemovePen' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:517)
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_BrushList_AddBrush(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:33015: warning: 'AddBrush' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:526)
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_BrushList_RemoveBrush(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:33053: warning: 'RemoveBrush' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:527)
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_FontList_AddFont(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:33205: warning: 'AddFont' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:539)
src/mac/_gdi_wrap.cpp: In function 'PyObject* _wrap_FontList_RemoveFont(PyObject*, PyObject*, PyObject*)':
src/mac/_gdi_wrap.cpp:33243: warning: 'RemoveFont' is deprecated (declared at /opt/local/include/wx-2.8/wx/gdicmn.h:540)
error: command '/usr/bin/gcc-4.2' failed with exit status 1

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.



More information about the macports-users mailing list