1. Download source code of CodeBlocks 1.0
Source code package in the official site will NOT "bootstrap" under linux, even it does, it will not "configure".
We need another, fortunately, there is.
Change your current working directory to /usr/local(or any other), then enter:
svn co svn://svn.berlios.de/codeblocks/trunk codeblocks-1.0
This command will download source code in SVN, it will take a long time. When it is done,
2. build "configure"
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
./bootstrap
3. build "Makefile"
./configure --prefix=/usr/local
then
make
That is all.
资料:
1. Installing Code::Blocks from source on Linux
Source code package in the official site will NOT "bootstrap" under linux, even it does, it will not "configure".
We need another, fortunately, there is.
Change your current working directory to /usr/local(or any other), then enter:
svn co svn://svn.berlios.de/codeblocks/trunk codeblocks-1.0
This command will download source code in SVN, it will take a long time. When it is done,
2. build "configure"
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
./bootstrap
3. build "Makefile"
./configure --prefix=/usr/local
then
make
That is all.
资料:
1. Installing Code::Blocks from source on Linux