Hello All,
I am building wxpython from source (wx wxPython-src-2.6.3.3) on Fedora Core 4
with gcc 3.4.2. I was able to successfully build wxwidgets and wxGTK, but
when I change to the wxPython/ directory and "python setup.py install", it
terminates with the message below. This seems to be a SWIG problem, but I'm
not sure. Also, I am only minimally competent in using swig in only the
crudest of ways (virtually now swig expertise).
Does anyone have any advice on how to get through this impasse?
ยทยทยท
===
building '_stc' extension
creating build-gtk2/temp.linux-i686-2.5/contrib/stc
creating build-gtk2/temp.linux-i686-2.5/contrib/stc/gtk
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1
-UNDEBUG -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -Iinclude -Isrc
-I/data10/users/jstroud/Programs/lib/wx/include/gtk2-ansi-release-2.6
-I/data10/users/jstroud/Programs/include/wx-2.6
-I/data10/users/jstroud/Programs/include/gtk-2.0
-I/data10/users/jstroud/Programs/lib/gtk-2.0/include
-I/data10/users/jstroud/Programs/include/atk-1.0
-I/data10/users/jstroud/Programs/include/cairo
-I/data10/users/jstroud/Programs/include/pango-1.0
-I/data10/users/jstroud/Programs/include/glib-2.0
-I/data10/users/jstroud/Programs/lib/glib-2.0/include
-I/data10/users/jstroud/Programs/include/python2.5 -c
contrib/stc/gtk/stc_wrap.cpp -o
build-gtk2/temp.linux-i686-2.5/contrib/stc/gtk/stc_wrap.o -O3
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_MarkerAddSet(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:3654: error: 'class wxStyledTextCtrl' has no
member named 'MarkerAddSet'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_AutoCompSetMaxWidth(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:6176: error: 'class wxStyledTextCtrl' has no
member named 'AutoCompSetMaxWidth'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_AutoCompGetMaxWidth(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:6202: error: 'class wxStyledTextCtrl' has no
member named 'AutoCompGetMaxWidth'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_AutoCompSetMaxHeight(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:6235: error: 'class wxStyledTextCtrl' has no
member named 'AutoCompSetMaxHeight'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_AutoCompGetMaxHeight(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:6261: error: 'class wxStyledTextCtrl' has no
member named 'AutoCompGetMaxHeight'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_WrapCount(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:8907: error: 'class wxStyledTextCtrl' has no
member named 'WrapCount'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_GetCaretSticky(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:14562: error: 'class wxStyledTextCtrl' has no
member named 'GetCaretSticky'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_SetCaretSticky(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:14595: error: 'class wxStyledTextCtrl' has no
member named 'SetCaretSticky'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_ToggleCaretSticky(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:14620: error: 'class wxStyledTextCtrl' has no
member named 'ToggleCaretSticky'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_SetPasteConvertEndings(PyObject*, PyObject*,
PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:14651: error: 'class wxStyledTextCtrl' has no
member named 'SetPasteConvertEndings'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_GetPasteConvertEndings(PyObject*, PyObject*,
PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:14677: error: 'class wxStyledTextCtrl' has no
member named 'GetPasteConvertEndings'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_SelectionDuplicate(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:14704: error: 'class wxStyledTextCtrl' has no
member named 'SelectionDuplicate'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_GetProperty(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:15029: error: 'class wxStyledTextCtrl' has no
member named 'GetProperty'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_GetPropertyExpanded(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:15077: error: 'class wxStyledTextCtrl' has no
member named 'GetPropertyExpanded'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_GetPropertyInt(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:15125: error: 'class wxStyledTextCtrl' has no
member named 'GetPropertyInt'
contrib/stc/gtk/stc_wrap.cpp: In function `PyObject*
_wrap_StyledTextCtrl_GetStyleBitsNeeded(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:15161: error: 'class wxStyledTextCtrl' has no
member named 'GetStyleBitsNeeded'
contrib/stc/gtk/stc_wrap.cpp: In function `void init_stc()':
contrib/stc/gtk/stc_wrap.cpp:23553: error: `wxEVT_STC_AUTOCOMP_SELECTION'
undeclared (first use this function)
contrib/stc/gtk/stc_wrap.cpp:23553: error: (Each undeclared identifier is
reported only once for each function it appears in.)
error: command 'gcc' failed with exit status 1
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095