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:
-
wgetthe latest git tarball -
gtar -zxf git-...(wheregtaris GNU tar, and-zis 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.
