You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling Git 2.0.1 on RedHat 5.9 as a non-root user I get the following error:
BUILD ERROR
make prefix=/home/eldon/local all doc info
...
CC zlib.o
CC unix-socket.o
CC thread-utils.o
CC compat/strlcpy.o
AR libgit.a
/bin/sh: gar: command not found
make: *** [libgit.a] Error 127
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" (which does exist in Redhat) does.
> /usr/bin/ar --version
GNU ar 2.17.50.0.6-20.el5_8.3 20061020
Copyright 2005 Free Software Foundation, Inc.
The text was updated successfully, but these errors were encountered:
This isn't really the right place to report issues like this; you should probably post to the mailing list instead.
That being said, I do not think it is git itself that is specifying gar here. The Makefile uses ar as the default unless it is overridden by the environment, by config.mak, or possibly by running configure (though one would presume configure would get it right).
When compiling Git 2.0.1 on RedHat 5.9 as a non-root user I get the following error:
BUILD ERROR
My fix was to make a symlink below:
SYMLINK
LINUX VERSION
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" (which does exist in Redhat) does.
The text was updated successfully, but these errors were encountered: