找不到命令

美豆

我正在运行以下命令在ubuntu 16.04中安装软件包:

make install

在输出中,我有以下消息:

make: /usr/bin/sh: Command not found
Makefile:12: recipe for target 'install' failed
make: *** [install] Error 127
疯狂的科学家

具有的/usr/bin/sh系统很少且相差很远。外壳的实际标准位置是/bin/sh

该软件包的makefile中的某些内容必须将SHELL变量设置/usr/bin/sh,这是错误的(通常对makefile进行设置是个坏主意SHELL,除非它需要特定的非标准shell)。

您可以运行make SHELL=/bin/sh以覆盖此不正确的设置。

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

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

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章