Due to the incompatibility documented here:
http://www.codeblocks.org/downloads/binariesand the fact that the package provided by pasgui is out of date, I wanted to try compiling CodeBlocks 12.11 from source on Ubuntu 12.04. (Actually Kubuntu.)
This topic was helpful, but I think the package names listed in the posts above are for RPM rather than APT packages. It took me a while to figure out the package names I needed before ./configure would run cleanly.
Here are the commands for the packages that I found I needed to install:
apt-get install libhunspell-dev
apt-get install libgamin-dev
apt-get install libboost-dev
(libboost-doc is optional, but I installed it because I expect to use Boost.)
The "make install" command adds several .so files to /usr/local/lib. Therefore, before I could run CodeBlocks, I needed to rebuild the library cache by:
sudo ldconfig
And now I'm running CodeBlocks 12.11 build 8629!