Reputation: 57
I am running the following command to install a package in ubuntu 16.04 :
make install
In the output I have the following messages :
make: /usr/bin/sh: Command not found
Makefile:12: recipe for target 'install' failed
make: *** [install] Error 127
Upvotes: 0
Views: 5603
Reputation: 100781
Systems with /usr/bin/sh
are few and far between. The de facto standard location for the shell is /bin/sh
.
Something in that package's makefile must be setting the SHELL
variable to /usr/bin/sh
, which is wrong (it's generally a bad idea for a makefile to set SHELL
at all, unless it needs a specific non-standard shell).
You can run make SHELL=/bin/sh
to override this incorrect setting.
Upvotes: 3