building git on sunfire
You might have noticed that sunfire provides a measly git v1.5.5.1, which is 4 years old. Here's how you can build a recent one:
-
wget
the latest git tarball -
gtar -zxf git-...
(wheregtar
is GNU tar, and-z
is the GNU-specific gzip switch) -
gmake install \
prefix=~/installed \
CFLAGS='-I/usr/sfw/include' \
CURLDIR='~/installed' \
NO_TCLTK=1
I assumed that a recent curl (again, the 5-year-old curl provided is insufficient) has been built and installed.
Your sprightly version of git should now be available at ~/installed
. Add to PATH
to taste.