git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git 2.1.0: make fails

From
GRGerry Reno <greno@verizon.net>
Date
Sep 10, 2014, 12:39 UTC
Message-ID
<5410468D.7000204@verizon.net>
In-Reply-To
<20140909224201.GE14029@peff.net>
On 09/09/2014 06:42 PM, Jeff King wrote:
Show 24 quoted lines
> On Tue, Sep 09, 2014 at 04:34:02PM -0400, Gerry Reno wrote:
>
>> Downloaded the git-2.1.0.tar.gz  tarball.
>>
>> Cannot build git 2.1.0:
> Weird. It works fine for me on Debian unstable. What platform are you on?
>
>>     cc  -g -O2 -Wall -I. -DHAVE_ALLOCA_H  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DHAVE_CLOCK_GETTIME
>>     -DSHA1_HEADER='<openssl/sha.h>'  -DNO_STRLCPY -DNO_MKSTEMPS -DSHELL_PATH='"/bin/sh"' -o git-credential-store  
>>     credential-store.o libgit.a xdiff/lib.a  -lz  -lcrypto -lpthread -lrt
>>     collect2: ld returned 1 exit status
>>     make: *** [git-credential-store] Error 1
> So the linker failed, but it didn't actually tell us why. That's not
> much to go on. Are you sure there was no other output on stderr?
>
> I assume the reason it broke on git-credential-store is just because it
> is the first thing we try to link. What does:
>
>   make V=1 prefix=/usr/local git
>
> output? Does it successfully link "git"?
>
> -Peff
>
I downloaded git-2.0.4.tar.gz and it builds and links fine.
I wiped out the 2.1.0 installation so cannot test anything more.
Previous: Jeff King
Message 3 of 3 in “git 2.1.0: make fails”
  1. Gerry RenoSep 9, 2014
  2. Jeff KingSep 9, 2014
  3. Gerry RenoSep 10, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.