A-A+

GNU Make version is too old

2021年04月26日 Linux GNU Make version is too old已关闭评论 阅读 13 次围观 次

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
make -v

<em>GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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.</em>

wget http://ftp.gnu.org/gnu/make/make-4.3.tar.gz
tar -zxvf make-4.3.tar.gz
cd make-4.3

<em>checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/make-4.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details</em>

yum groupinstall "Development tools" -y
./configure
make
sudo make install
cd ..
rm -rf make-4.3.tar.gz make-4.3

Now your make has been upgraded to version of 4.3!

评论已关闭!

Copyright © 老牛博客 保留所有权利.   Theme  Ality

用户登录