These critical programs are missing or too old: as ld

configure 时出现以下错误:

checking for autoconf... no
configure: error:
*** These critical programs are missing or too old: as ld
*** Check the INSTALL file for required versions.

问题原因:
缺少autoconf或版本太低

下载安装新版本

# wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
# tar zxvf autoconf-2.68.tar.gz
# cd autoconf-2.68
# ./configure --prefix=/usr/
# make && make install

查看当前版本:

# autoconf -V
autoconf (GNU Autoconf) 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

注意是大写的V。

&ldquo;make”、&ldquo;bison”、&ldquo;compiler”是常用于编程开发的软件程序,其中&ldquo;make”是GNU自由软件工具中的一个构建自动化工具,它根据Makefile文件中的规则来自动生成目标文件;&ldquo;bison”是一种语法解析器生成器,能够根据用户提供的语法描述文件自动生成相应的解析器;而&ldquo;compiler”则是一种将高级语言代码转换为机器码的程序。 当系统在编译或开发过程中提示&ldquo;these critical programs are missing or too old: make bison compiler”时,意味着当前系统中缺少或版本过旧的这三个关键程序之一。这通常会导致编译无法进行、程序无法正常运行、开发环境无法搭建等问题。 针对这种情况,一般需要使用相应的软件包管理器或手动安装最新版本的程序。例如,在Ubuntu系统中,我们可以使用如下命令安装: sudo apt-get install make sudo apt-get install bison sudo apt-get install build-essential 如果系统提示已有最新版本,则可以尝试使用如下命令更新版本: sudo apt-get update sudo apt-get upgrade 请注意,在安装或更新这三个关键程序时,需要遵循相应的安装步骤和软件包依赖。如果不确定如何安装或更新这些程序,建议查阅相关资料或寻求专业技术支持。 总之,对于程序开发工程师而言,保持系统中关键程序的更新和完整性是非常重要的,只有这样才能保证系统和程序处于一个稳定、高效的开发环境中。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值