天天看點

Ubuntu16.04 編譯安裝 codeblock16.01

1. 下載下傳源碼

https://nchc.dl.sourceforge.net/project/codeblocks/Sources/16.01/codeblocks_16.01.tar.gz

2. 配置

$ ./configure --prefix=/opt/codeblock/

3. 編譯

$ make

WARNING: 'aclocal-1.13' is missing on your system.

        You should only need it if you modified 'acinclude.m4' or

         'configure.ac' or m4 files included by 'configure.ac'.

         The 'aclocal' program is part of the GNU Automake package:

         <http://www.gnu.org/software/automake>

         It also requires GNU Autoconf, GNU m4 and Perl in order to run:

         <http://www.gnu.org/software/autoconf>

         <http://www.gnu.org/software/m4/>

         <http://www.perl.org/>

$ autoreconf -avf

autoreconf 詳細說明:

http://man.chinaunix.net/linux/lfs/htmlbook/appendixa/autoconf.html

http://blog.sciencenet.cn/blog-478347-1017981.html

4. 編譯并安裝

$ make && make install

繼續閱讀