Trying to install Git, I ran configure and make, but got the following error message:
make: Fatal error in reader: Makefile, line 221: Unexpected end of line seen
The Makefile looks like:
218: GIT-VERSION-FILE: FORCE
219: @$(SHELL_PATH) ./GIT-VERSION-GEN
220: -include GIT-VERSION-FILE
221:
222: uname_S := $(shell sh -c 'uname -s 2>/dev/null øø echo not')
What's causing the error?
The following information may or may not be relevant:
Using gmake on SunOS instead of make fixed this issue for me.
Use gmake instead of make.
Genrally solaris has two command, gmake and make. In this gmake is GNU style make command, and make is solaris style make command. I hope you have written your makefile in GNU style. So use gmake command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With