*** These critical programs are missing or too old: make compiler

发布时间 2023-07-15 23:10:35作者: 小鲨鱼2018

 

001、问题

*** These critical programs are missing or too old: make compiler

 

002、查看当前的make版本

[root@PC1 build]# make --version

 

003、make官网:http://ftp.gnu.org/pub/gnu/make/

下载最新的make。

 

004、

wget http://ftp.gnu.org/pub/gnu/make/make-4.4.tar.gz
tar -xzvf make-4.4.tar.gz
cd make-4.4/
mkdir build
cd build
../configure --prefix=/usr/
bash build.sh
make install

 

005、检查make版本

[root@PC1 build]# make --version
GNU Make 4.4
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

 

006、回到报错的脚本,进行测试,make版本过旧的报错消失,出现c编译器版本过旧

[root@PC1 build]# ../configure --prefix=/usr/local/glibc-2.28

 。