If you are trying to install codeblocks under Ubuntu 7.10 are you’re seeing an error message along these lines:
The following packages have unmet dependencies:
libcodeblocks0: Depends: libwxbase2.8-0 (>= 18.104.22.168) but 22.214.171.124-0ubuntu3 is installed.
Depends: libwxgtk2.8-0 (>= 126.96.36.199) but 188.8.131.52-0ubuntu3 is installed.
I had success following the instructions here: http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
Works like a charm!