Re: Compile Error on Git 2.0.1 on Redhat 5.9 with Fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eldon Nelson <eldon_nelson@xxxxxxxx> writes:

> 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
[...]
> I think the fix is to allow the use of "ar" if "gar" does not exist.

It is already the case. The Makefile defaults to "ar" and does not even
contain any mention of "gar". The configure script checks for both:

configure.ac:AC_CHECK_TOOLS(AR, [gar ar], :)

My guess is that you ran the configure script on a machine where gar is
present, and then used the result on a machine where it isn't.

Normally, at configure time you should see this:

checking for ar... ar

You actually don't need to run the configure script, the Makefile runs
fine without it. Delete config.mak.autogen to cancel the effect of
./configure.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]