When compiling Git 2.0.1 on RedHat 5.9 as a non-root user I get the
make prefix=/home/eldon/local all doc info
/bin/sh: gar: command not found
make: *** [libgit.a] Error 127
My fix was to make a symlink below:
gar -> /usr/bin/ar
> lsb_release -i -r
Distributor ID: RedHatEnterpriseClient
I think the fix is to allow the use of "ar" if "gar" does not exist. I
don't know if this exists for every Redhat install but "gar" is not
available in /usr/bin but "ar" does.
> /usr/bin/ar --version
GNU ar 126.96.36.199.6-20.el5_8.3 20061020
Copyright 2005 Free Software Foundation, Inc.
It could just be my corporate install of RedHat that is weird, but
thought this might be at least a point to describe a fix.
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
Copyright (C) 2006 Free Software Foundation, Inc.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html