The last CentOS rpm for C::B 10.05 and the binary rpm's on C::B's website require GLIB2.14 and 2.15 respectively, and the last rpm for those is 2.12. So rather than grappling with trying to update glibc on the system, I decided to compile C::B itself. I downloaded and compiled wxWidgets 2.8.12 then grabbed the source rpm for C::B. Configuration went fine till I got to compiling it. It runs for a while then this:
autodetectcompilers.cpp: In member function 'void AutoDetectCompilers::OnMouseMotion(wxMouseEvent&)':
autodetectcompilers.cpp:167: error: 'class wxListCtrl' has no member named 'GetToolTip'
autodetectcompilers.cpp:171: error: 'class wxListCtrl' has no member named 'GetToolTip'
make[3]: *** [autodetectcompilers.lo] Error 1
make[3]: Leaving directory `/home/kirash/Downloads/codeblocks-13.12/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kirash/Downloads/codeblocks-13.12/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kirash/Downloads/codeblocks-13.12/src'
make: *** [all-recursive] Error 1
Now what? I thought C::B compiled fine against wxWidgets 2.8.x, it's 3.0.x that it has issues with.
It works fine with wx2.8 if it is compiled with the corect parameters.
Maybe something went wrong when building wx.
Why do you try to buikd wx yourself ?
repoforge.org has working prebuild packages for CentOS5.
I build my nightlies (http://rpm.jenslody.de/) against it.