I get an error message when I type in the command make when I am in the current git directory, how do I fix this issue?
This is what I type in and receive:
cd git-1.7.5.4
git-1.7.5.4$ make
~bash: make: command not found.
How do I alleviate this issue so I can run the make commands for git and curl?
You need to install Make. Most likely you do not have your operating system’s toolchain installed. I believe for Mac OS X you need to install XCode, but there may be another way.
Git-specific note: You need to set your
config.makoptions. Notably, you should haveNO_TCLTK=YesPleaseif you don’t have Tcl/Tk. Some other options may be necessary. Also if you don’t have libcurl headers, useNO_CURL=YesPlease(WARNING: You won’t be able to use http or https servers). If you do not have openssl headers, useNO_OPENSSL=YesPlease. And so on. Look in Makefile for more details.According to the Makefile, since you are using Darwin, you need
If you plan on using the test suite,
NO_SVN_TESTS=YesPleasecan speed up time to do so.Consider enabling
BLK_SHA1=YesPleaseif applicable to Mac OS X. (not sure on this one)