bash - Bash:make:即使在安装 msys-make 软件包后也找不到命令
问题描述
标题中的错误是我尝试使用时出现在 Windows 10 上的 Bash 上的make
错误mingw-get install msys-make
。
我收到错误消息,它已安装在我的电脑上。现在我不知道该怎么做,即使安装了软件包,bash: make: command not found
它仍然存在。另一方面,我确实添加了几乎所有可能的路径到 PATH,有时错误更改为
/mingw64/make-4.3/tests/scripts/variables/make: line 3: =: command not found
/mingw64/make-4.3/tests/scripts/variables/make: line 5: =: command not found
/mingw64/make-4.3/tests/scripts/variables/make: line 7: syntax error near unexpected token `q!'
/mingw64/make-4.3/tests/scripts/variables/make: line 7: `run_make_test(q!'
解决方案
您应该将其路径添加到 $PATH 变量并重新启动 Windows。重新启动后操作系统更新病毒。
推荐阅读
- python - Python Pandas Dataframe 丰富(来自另一个)
- html - NG Bootstrap Popover 未在表格上正确显示
- python - 如何解决 AttributeError:“NoneType”对象没有属性“CONTENT_TYPE”
- javascript - 嵌入指向最新 YouTube 视频的链接
- asp.net - 我第一次启动 Visual Studio 时没有 IIS Express 按钮
- python - 从需求文件中的私人仓库进行 pip 安装时避免 git clone
- ios - Facebook SDK 警告我设置“FacebookAdvertiserIDCollectionEnabled”标志。如何解决这个问题?
- c# - 本地计算机上的自托管 WebAPI,支持 https
- google-cloud-firestore - Firestore 触发器函数的跟踪上下文(分布式跟踪)
- android - 如何取消 Firebase 存储元数据下载任务?