Ubuntu16.04 编译安装 codeblock16.01

本文介绍如何从源码编译安装 CodeBlocks 16.01 版本,包括下载源码包、配置安装路径、解决缺少依赖的问题,并最终完成编译及安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值