I have a Mac OS X Lion laptop. wxpython 2.9.2.4 doesn’t build. I see changes for Lion compatibility were checked in two days ago (./src/osx/utils_osx.cpp; ./src/osx/window_osx.cpp). I’d like to build wxpython from SVN sources, but I couldn’t find instructions for checking out svn working copies. Are the commands posted somewhere?
On 18/10/2011 11:16 PM, Ralf Grosse-Kunstleve wrote:
Hi,
I have a Mac OS X Lion laptop. wxpython 2.9.2.4 doesn't build. I see
changes for Lion compatibility were checked in two days ago
(./src/osx/utils_osx.cpp; ./src/osx/window_osx.cpp). I'd like to build
wxpython from SVN sources, but I couldn't find instructions for
checking out svn working copies. Are the commands posted somewhere?
Thanks in advance,
Ralf
Hi,
I have a Mac OS X Lion laptop. wxpython 2.9.2.4 doesn't build.
What errors are you getting?
I see
changes for Lion compatibility were checked in two days ago
(./src/osx/utils_osx.cpp; ./src/osx/window_osx.cpp). I'd like to build
wxpython from SVN sources, but I couldn't find instructions for checking
out svn working copies. Are the commands posted somewhere?
It succeeds building wxWidgets, but fails building wxPython:
src/osx_cocoa/_core_wrap.cpp: In function �PyObject*
_wrap_SettableHeaderColumn_SetAsSortKey(PyObject*, PyObject*, PyObject*)�:
src/osx_cocoa/_core_wrap.cpp:69013: error: �class
wxSettableHeaderColumn� has no member named �SetAsSortKey�
Is there a way to say "keep going", to get an idea how many more errors
there are?
Update your wxPython workspace again and rebuild. I had to rearrange some things to accommodate some changes in wxAUI and some other things.
···
On 10/19/11 2:57 PM, Ralf Grosse-Kunstleve wrote:
svn update got revision 69479.
With this the build ran to completion.
After seeing PYTHONPATH and DYLD_LIBRARY_PATH as shown at the end of the
build output:
% ../../bintbx_py272/base/bin/python demo/demo.py
Traceback (most recent call last):
File "demo/demo.py", line 3, in <module>
import Main
File "/Users/rwgk/wxsrc/wxPython/demo/Main.py", line 60, in <module>
import wx.aui
File "/Users/rwgk/wxsrc/wxPython/wx/aui.py", line 1068, in <module>
class AuiNotebookEvent(object):
File "/Users/rwgk/wxsrc/wxPython/wx/aui.py", line 1088, in
AuiNotebookEvent
OldSelection = property(GetOldSelection,SetOldSelection,doc="See
`GetOldSelection` and `SetOldSelection`")
NameError: name 'GetOldSelection' is not defined