this is what I did (yesterday)
1) install wx (binaries and the devel sources)
2) kdesvn point it to berlios (see wiki : cookbook nightlies, or main codeblocks webpages/sources on how to do that), you can use kdesvn for this
3) in the trunk directory where the codeblocks sources where put do the following :
4) ./bootstrap (it told me to copy the content of a certain file in another file, just do it (well add it to the content of the second file)
5) ./configure --enable-contribs
6) make
7) sudo make install
reboot
that's what did the trick for me (i have done something else also, but i am not sure it was needed)