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

git 2.1.0: make fails

From
GRGerry Reno <greno@verizon.net>
Date
Sep 9, 2014, 20:34 UTC
Message-ID
<540F643A.60207@verizon.net>
Downloaded the git-2.1.0.tar.gz  tarball.
Cannot build git 2.1.0:
    $ V=1 make prefix=/usr/local all
    ...
    cc -o xdiff/xpatience.o -c -MF xdiff/.depend/xpatience.o.d -MQ xdiff/xpatience.o -MMD -MP  -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"'  xdiff/xpatience.c
    cc -o xdiff/xhistogram.o -c -MF xdiff/.depend/xhistogram.o.d -MQ xdiff/xhistogram.o -MMD -MP  -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"'  xdiff/xhistogram.c
    rm -f xdiff/lib.a && ar rcs xdiff/lib.a xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o xdiff/xmerge.o
    xdiff/xpatience.o xdiff/xhistogram.o
    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
    $ ls -l credential.o libgit.a xdiff/lib.a /usr/lib/libz.a /usr/lib/libcrypt.a /usr/lib/libpthread.a /usr/lib/librt.a
    -rw-rw-r-- 1 greno greno   20332 Sep  9 16:21 credential.o
    -rw-rw-r-- 1 greno greno 4658874 Sep  9 16:23 libgit.a
    -rw-r--r-- 1 root  root    24272 Jan  5  2007 /usr/lib/libcrypt.a
    -rw-r--r-- 1 root  root   228586 Jan  5  2007 /usr/lib/libpthread.a
    -rw-r--r-- 1 root  root    52128 Jan  5  2007 /usr/lib/librt.a
    -rwxr-xr-x 1 root  root    92622 Jul 19  2006 /usr/lib/libz.a
    -rw-rw-r-- 1 greno greno  122456 Sep  9 16:23 xdiff/lib.a
Next: Jeff King
Message 1 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.