bash-找不到命令

用户名

我已经Makefile在我的linux ec2服务器中创建了一个名为make的文件

all: a b

a: daemon.cpp dictionary_exclude.cpp
        g++ -o a daemon.cpp dictionary_exclude.cpp -lpthread -std=c++0x -L.

b: user_main.cpp client.cpp
        g++ -o b user_main.cpp client.cpp

我可以独立成功地运行每一个。

但是当我执行

make
make -f Makefile

它说make: -bash: make: command not found

任何想法?我可以通过man make手动查看make

拉胡尔·R·多比

请执行以下命令以在您的系统中安装make

sudo yum install build-essential

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章