Here is my "short" version of what should be enough to build and install C::B from sources in debian/ubuntu.
It should work similar for the most major-distros, but the package names and the package-manager commands are slightly different.
On debian (and ubuntu and other derivates of debian) you need at least the following packages:
gcc,
g++,
make,
automake,
libtool,
libwxgtk2.8-dev,
wx-common,
zip,
libbz2-dev,
zlib1g-dev and
libstdc++6-4.x-dev (the exact version depends on your compiler,
x can be 3, 4, 5 or 6 at the moment).
Install them by using
sudo apt-get install gcc g++ make automake libtool libwxgtk2.8-dev wx-common zip libbz2-dev zlib1g-dev libstdc++6-4.6-dev
For some plugins you need additional development packages:
libgtk2.0-dev for codenippets and mousesap,
libgamin-dev for filemanager,
libboost1.40-dev or
libboost-dev >= 1.40 (depending on your distribution) for the nassi-shneiderman plugin,
libhunspell-dev for the spellchecker-plugin.
To fetch the svn-sources you also have to install
subversion:
Create a folder where you want the C::B sources, change directory (cd) to it and call:
svn co svn://svn.berlios.de/codeblocks/trunk .
then run
./bootstrap
./configure --prefix=[/where/codeblocks/should/be/installed/to] --with-contrib-plugins=all
make
make installInstead of all for contrib-plugins, you can chose only some of them, or exclude some of them, see
./configure --help for details.
Normally there is no need to do anything with ldconfig, because the (re)linking should be done correctly by the installation process.
Now you can run C::B with
/where/codeblocks/should/be/installed/to/bin/codeblocks.
There should be no need to compile any packages on your own (except of C::B of course).
But if you want to avoid this also, just install C::B from my
repo.
You do not need the most of the packages above in this case of course.