I am trying to install Git 2.18.0 into my RHEL box. Due to the proxy setting of the environment I am working at, I would have to install it from the source (tarball), and I attempted to do so via the method below:
$ tar -zxf git-2.18.0.tar.gz $ cd git-2.18.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc install-html install-info
I had several issues going through the steps, but I am currently stuck at the ‘make all doc info’ step. Running the command gave me the following error:
(UAT) test1@devecpvm001234$ sudo make all doc info AR libgit.a AR xdiff/lib.a LINK git-credential-store gcc: error: libgit.a: No such file or directory gcc: error: xdiff/lib.a: No such file or directory
I have also looked into the Makefile file, and found the following (although I’m not sure how relevant this is to the issue):
LIB_FILE = libgit.a XDIFF_LIB = xdiff/lib.a VCSSVN_LIB = vcs-svn/lib.a
Does anyone know how to get around this? Your advises would be much appreciated.