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
本文介绍如何在Linux环境下从源码安装CodeBlocks1.0,包括下载源码、配置构建环境及编译步骤。对于希望深入了解CodeBlocks安装细节的开发者来说,本文提供了实用的操作指南。
3264

被折叠的 条评论
为什么被折叠?



