I'm looking to build wxPython/wxWidgets on a test machine running RH8. I've gone through this build process a few times before, so I'm familiar with the quirks involved in building wx. I get through the configure step without error, with the --enable-gtk2 option specified. But when I try to run 'make', it craps out with the message:
../src/generic/splash.cpp: In constructor `wxSplashScreen::wxSplashScreen(const
wxBitmap&, long int, int, wxWindow*, int, const wxPoint&, const wxSize&,
long int)':
../src/generic/splash.cpp:60: `GDK_WINDOW_TYPE_HINT_SPLASHSCREEN' undeclared
(first use this function)
Just on a hunch, I tried starting from scratch, leaving out the --enable-gtk2 option in the configure command. Unfortunately, the make command failed on exactly the same line:
./bk-deps g++ -c -o advdll_splash.o -D__WXGTK__ -I../src/regex -DWXUSINGDLL -DWXMAKINGDLL_ADV -fPIC -DPIC -D__WXDEBUG__ -Ilib/wx/include/gtk2ud-2.5 -I../include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/SDL -D_REENTRANT -Wall ../src/generic/splash.cpp
../src/generic/splash.cpp: In constructor `wxSplashScreen::wxSplashScreen(const
wxBitmap&, long int, int, wxWindow*, int, const wxPoint&, const wxSize&,
long int)':
../src/generic/splash.cpp:60: `GDK_WINDOW_TYPE_HINT_SPLASHSCREEN' undeclared
(first use this function)
../src/generic/splash.cpp:60: (Each undeclared identifier is reported only once
for each function it appears in.)
make: *** [advdll_splash.o] Error 1
Anyone know why this splashscreen code is not able to be built?
Just on a hunch, I tried starting from scratch, leaving out the --enable-gtk2 option in the configure command. Unfortunately, the make command failed on exactly the same line:
Was it truly from scratch or was the configure cache file still around? Try using --disable-gtk2.
···
On Aug 22, 2004, at 5:52 PM, Neil Hodgson wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
OK, so what's the best way to upgrade? I looked at the gtk.org site, and it seems that there are a bunch of other dependent files that also have to be upgraded. RedHat's up2date said everything is current, which I guess is correct for RH8.
I ran that and got:
$ pkg-config --modversion gtk+-2.0
2.0.6
You may need at least 2.2.x
OK, so what's the best way to upgrade? I looked at the gtk.org site, and it seems that there are a bunch of other dependent files that also have to be upgraded. RedHat's up2date said everything is current, which I guess is correct for RH8.
Can you upgrade to RH9 or Fedora? Otherwise you can build GTK and all the dependent libs, installing them to /usr/local or some other prefix, and then make sure that wxGTK's configure uses those versions.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!