I did a full build from bootstrap in Ubuntu 7.04 (Feisty) today, and encountered quite a few errors due to missing includes.
System details:
Ubuntu Linux 7.04 32-bit
wxGTK 2.8.1
GCC 4.1.2
Code::Blocks SVN head (r3967)
Build steps:
./bootstrap
./configure --enable-contrib --disable-pch
make
sudo make install
The greatest number of errors were due to wxImageList not being defined (fixed by including wx/imaglist.h). Two were due to wxFrame being forward-declared but not fully defined, and thus being unable to upcast from wxFrame* to wxWindow* (fixed by including wx/frame.h). Several others were due to various other wxWidgets classes being undefined, and were fixed by including the appropriate headers. Finally, wxsgrid.cpp and wxsgrid.h were mistakenly added to the Makefile.am in wxSmith's "wxwidgets" directory, instead of "wxwidgets/defitems" where the files actually reside (fixed by removing them from the Makefile.am in wxwidgets and adding them to the Makefile.am in wxwidgets/defitems).
Attached is a patch of the modifications I made in order to compile successfully.
Although compilation was successful, the build is unusable as mentioned by other wxGTK 2.8.0/2.8.1 users.
[attachment deleted by admin]