erlang.mk:30: Please upgrade to GNU Make 4 html
在用erlang.mk構建項目的時候報這個錯,提示不同意使用Make 3.81 and 3.82版本linux
下載最新版本的Make:http://ftp.gnu.org/gnu/make/redis
我這裏下載的是4.2版本:make-4.2.tar.gz
解壓安裝ui
[root@192 bin]# tar -zxvf make-4.2.tar.gz
[root@192 bin]# cd make-4.2
[root@192 bin]# ./configure
[root@192 bin]# make && make install ##須要root權限spa
[root@192 bin]# which make
/usr/bin/make
[root@192 bin]# cd /usr/bin
[root@192 bin]# mv make make_bak
[root@192 bin]# ln -s /usr/local/bin/make ./make.net
[root@192 bin]# make -vhtm
GNU Make 4.2
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 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.get