bash:make:找不到命令 [英] bash: make: command not found

查看:95
本文介绍了bash:make:找不到命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个带有Makefile的目录中,但是不能使用,我不能使用make

I am in a directory with a Makefile, but can't use I cannot use make

bash-3.2$ make
bash: make: command not found

我该如何解决?

推荐答案

Make可以通过Apple的命令行工具获得.通过转到XCode->Preferences->Downloads

Make, among other things, is available through Apple's Command Line Tools. Install Command Line Tools through XCode by going to XCode->Preferences->Downloads

您还可以在不从Apple Developer站点安装XCode的情况下下载命令行工具: https://developer.apple .com/opensource/

You can also download Command Line Tools without installing XCode from the Apple Developer site: https://developer.apple.com/opensource/

这篇关于bash:make:找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆