This thread was about three months old, so the information it contains is outdated.
Here are some *rough* instructions to build Code::Blocks under Linux.
Either checkout a CVS copy or download the source package of the latest version.
Before building, you will have to have wxWidgets development packages installed (or build it yourself - it's straightforward).
You will also need contrib/xrc and contrib/stc from the wxWidgets distribution (the wx/stc/stc.h file you can't find is in there).
Then check the top of the file Makefile.unix and, possibly, adjust for your environment.
Last step is to issue "make -f Makefile.unix" followed by a "make -f Makefile.unix update".
I have tested it under Debian and Gentoo. I got alsoe reports of succesful compiling under Fedora Core 2 and Ubuntu. It compiles correctly but only *works* when wxGTK is compiled against gtk2. With gtk1, although it compiles fine, it segfaults and the program doesn't run. I haven't found out why yet.
As the makefile does not contain a "install" target, you will have to create a shell script under src/output.
Paste the following lines in a file called src/output/run.sh and make it executable.
#!/bin/sh
# adjust the following line
# e.g. if you have the sources in /home/user/cvs/codeblocks, then
# make it APP_DIR=/home/user/cvs/codeblocks/src/output
APP_DIR=<insert_full_path_to_dir_with_codeblocks.exe>
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
$APP_DIR/codeblocks.exe --prefix=$APP_DIR
You can then launch Code::Blocks by running src/output/run.sh
Shell script creation has been integrated in the Makefile.unix but it's only in CVS...
HTH,
Yiannis.