CentOS 7 erlang.mk:30: Please upgrade to GNU Make 4

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

相关文章
相关标签/搜索