Trying a basic compile from the wxPython-src-2.8.10.1 source tar but
so far have been unsuccessful at getting wxPython to compile.
wxWidgets in the parent directory compiles and installs fine but I get
this error when attempting to compile wxPython:
building '_core_' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -
DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -
DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
D__WXGTK__ -Iinclude -Isrc -I/usr/local/lib/wx/include/gtk2-unicode-
release-2.8 -I/usr/local/include/wx-2.8 -I/usr/include/gtk-2.0 -I/usr/
lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/
usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/
include -I/usr/include/python2.5 -c src/gtk/_core_wrap.cpp -o build-
gtk2.unicode/temp.linux-x86_64-2.5/src/gtk/_core_wrap.o -pthread -O3
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_ShowEvent_IsShown
(PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:28693: error: ‘const class wxShowEvent’ has no
member named ‘IsShown’
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_GetAccelFromString
(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:33954: warning: ‘wxGetAccelFromString’ is
deprecated (declared at /usr/local/include/wx-2.8/wx/utils.h:571)
src/gtk/_core_wrap.cpp:33954: warning: ‘wxGetAccelFromString’ is
deprecated (declared at /usr/local/include/wx-2.8/wx/utils.h:571)
error: command 'gcc' failed with exit status 1
What prefix did you use when configuring wxWidgets? What command line did you use when you invoked setup.py? Are you sure that the wxPython build is using the same version of wxWidgets that you just built and installed?
···
On 1/22/10 12:51 PM, lycovian wrote:
Trying a basic compile from the wxPython-src-2.8.10.1 source tar but
so far have been unsuccessful at getting wxPython to compile.
wxWidgets in the parent directory compiles and installs fine but I get
this error when attempting to compile wxPython:
building '_core_' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -
DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -
DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
D__WXGTK__ -Iinclude -Isrc -I/usr/local/lib/wx/include/gtk2-unicode-
release-2.8 -I/usr/local/include/wx-2.8 -I/usr/include/gtk-2.0 -I/usr/
lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/
usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/
include -I/usr/include/python2.5 -c src/gtk/_core_wrap.cpp -o build-
gtk2.unicode/temp.linux-x86_64-2.5/src/gtk/_core_wrap.o -pthread -O3
src/gtk/_core_wrap.cpp: In function �PyObject* _wrap_ShowEvent_IsShown
(PyObject*, PyObject*)�:
src/gtk/_core_wrap.cpp:28693: error: �const class wxShowEvent� has no
member named �IsShown�
src/gtk/_core_wrap.cpp: In function �PyObject* _wrap_GetAccelFromString
(PyObject*, PyObject*, PyObject*)�:
src/gtk/_core_wrap.cpp:33954: warning: �wxGetAccelFromString� is
deprecated (declared at /usr/local/include/wx-2.8/wx/utils.h:571)
src/gtk/_core_wrap.cpp:33954: warning: �wxGetAccelFromString� is
deprecated (declared at /usr/local/include/wx-2.8/wx/utils.h:571)
error: command 'gcc' failed with exit status 1