Take a look a this topic: http://forums.codeblocks.org/index.php?topic=2079.msg16330#msg16330 (http://forums.codeblocks.org/index.php?topic=2079.msg16330#msg16330)
Even if a compile CB under debian sarge, I know a little bit slackaware, so I think it's going to work for you
-> Get the last version from SVN (http://www.codeblocks.org/source_code.shtml (http://www.codeblocks.org/source_code.shtml)) then just
./bootstrap
./configure
make
su
make install
exit
Don't care if you get the errors reported in my last post on the topic...
And be sure you have the following installed (debian packages' names):
* libwxgtk2.6-dev
* zip / unzip (I remember the makefile use it)
* subversion (to get the sources)
* autoconf
* automake
* autotools-dev
* libtool (can't rebember if really necessary or not)
I hope it'll work...