There’s a regression in the build process. Because wxWebView requires a version of webkit-gtk not available for any release of RHEL, it can’t be built. In 2.9.4, it would be disabled during configure and skipped over when building. In 2.9.5, configure correctly detects the system can’t support it:
checking for WEBKIT… configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView
checking for CAIRO… yes
checking for cairo_push_group… yes
checking for GST… yes
But then it goes off and tries compiling it anyways:
building ‘_html2’ extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -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 -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DSWIG_TYPE_TABLE=wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK_ -Iinclude -Isrc -I/builddir/build/BUILD/wxPython-src-2.9.5.0/bld/lib/wx/include/gtk2-unicode-2.9 -I/builddir/build/BUILD/wxPython-src-2.9.5.0/include -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/goes/include/python2.7 -c src/gtk/html2_wrap.cpp -o build/temp.linux-x86_64-2.7/src/gtk/html2_wrap.o -pthread -O3
In file included from src/gtk/html2_wrap.cpp:2672:
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/gtk/html2_wrap.cpp: At global scope:
src/gtk/html2_wrap.cpp:2773: error: ISO C++ forbids declaration of ‘wxWebView’ with no type
src/gtk/html2_wrap.cpp:2773: error: ‘wxWebView’ declared as a ‘virtual’ field
src/gtk/html2_wrap.cpp:2773: error: expected ‘;’ before ‘*’ token
src/gtk/html2_wrap.cpp:2775: error: ISO C++ forbids declaration of ‘wxWebView’ with no type
src/gtk/html2_wrap.cpp:2775: error: ‘wxWebView’ declared as a ‘virtual’ field
src/gtk/html2_wrap.cpp:2775: error: expected ‘;’ before ‘*’ token
src/gtk/html2_wrap.cpp:2789: error: expected ‘;’ before ‘(’ token
src/gtk/html2_wrap.cpp:2790: error: expected ‘;’ before ‘static’
src/gtk/html2_wrap.cpp: In member function ‘const wxString& wxWebViewEvent::GetTarget() const’:
src/gtk/html2_wrap.cpp:2848: warning: returning reference to temporary
src/gtk/html2_wrap.cpp: In member function ‘const wxString& wxWebViewEvent::GetURL() const’:
src/gtk/html2_wrap.cpp:2849: warning: returning reference to temporary
src/gtk/html2_wrap.cpp: In function ‘PyObject* _wrap_WebViewFactory_Create__SWIG_0(PyObject*, int, PyObject**)’:
src/gtk/html2_wrap.cpp:3231: error: ‘class wxWebViewFactory’ has no member named ‘Create’
src/gtk/html2_wrap.cpp: In function ‘PyObject* _wrap_WebViewFactory_Create__SWIG_1(PyObject*, int, PyObject**)’:
src/gtk/html2_wrap.cpp:3321: error: ‘class wxWebViewFactory’ has no member named ‘Create’
src/gtk/html2_wrap.cpp: In function ‘PyObject* _wrap_WebView_PreNew(PyObject*, PyObject*, PyObject*)’:
src/gtk/html2_wrap.cpp:3516: error: no matching function for call to ‘wxWebView::New(const wxString&)’
src/gtk/html2_wrap.cpp:2790: note: candidates are: static wxWebView* wxWebView::New(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxString&, long int, const wxString&)
error: command ‘gcc’ failed with exit status 1