can't build 2.8.7.1

I'm trying to [re]build the 2.8.7.1 RPM and get this error:

/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT ../src/common/framecmn.cpp
../src/common/framecmn.cpp: In member function 'virtual void wxFrameBase::SendSizeEvent()':
../src/common/framecmn.cpp:182: error: no matching function for call to 'wxFrame::GtkOnSize()'
../include/wx/gtk1/frame.h:80: note: candidates are: virtual void wxFrame::GtkOnSize(int, int, int, int)
make: *** [coredll_framecmn.o] Error 1

My system is Fedora 8 (gcc-4.2)
The RPM build command was:
  rpmbuild -ba --define 'pyver 2.5' --define 'unicode 0' --define 'port gtk' wxPython.spec

Any ideas?

Thanks

···

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

Gary Thomas wrote:

I'm trying to [re]build the 2.8.7.1 RPM and get this error:

/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT ../src/common/framecmn.cpp
../src/common/framecmn.cpp: In member function 'virtual void wxFrameBase::SendSizeEvent()':
../src/common/framecmn.cpp:182: error: no matching function for call to 'wxFrame::GtkOnSize()'
../include/wx/gtk1/frame.h:80: note: candidates are: virtual void wxFrame::GtkOnSize(int, int, int, int)
make: *** [coredll_framecmn.o] Error 1

My system is Fedora 8 (gcc-4.2)
The RPM build command was:
rpmbuild -ba --define 'pyver 2.5' --define 'unicode 0' --define 'port gtk' wxPython.spec

Any ideas?

The GTK1 port hasn't been very well maintained nor tested for a while. Try changing the 'port gtk' to 'port gtk2'

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Gary Thomas wrote:

I'm trying to [re]build the 2.8.7.1 RPM and get this error:

/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT ../src/common/framecmn.cpp
../src/common/framecmn.cpp: In member function 'virtual void wxFrameBase::SendSizeEvent()':
../src/common/framecmn.cpp:182: error: no matching function for call to 'wxFrame::GtkOnSize()'
../include/wx/gtk1/frame.h:80: note: candidates are: virtual void wxFrame::GtkOnSize(int, int, int, int)
make: *** [coredll_framecmn.o] Error 1

My system is Fedora 8 (gcc-4.2)
The RPM build command was:
rpmbuild -ba --define 'pyver 2.5' --define 'unicode 0' --define 'port gtk' wxPython.spec

Any ideas?

The GTK1 port hasn't been very well maintained nor tested for a while. Try changing the 'port gtk' to 'port gtk2'

Indeed, this worked fine. Thanks

···

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------