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

make install bug?

From
Eeschvoca <eschvoca@gmail.com>
Date
Dec 12, 2005, 15:35 UTC
Message-ID
<2b05065b0512120735v26c8343aged48165f3ccc5892@mail.gmail.com>

Using the latest git on "make prefix=/home/eschvoca/apps/git-0.99.9m install" I get the following error:

make[1]: Entering directory `/home/eschvoca/downloads/git-0.99.9m/templates' : no custom templates yet install -d -m755 '/home/eschvoca/share/git-core/templates/' (cd blt && tar cf - .) | \ (cd '/home/eschvoca/share/git-core/templates/' && tar xf -) tar: This does not look like a tar archive tar: Skipping to next header tar: Error exit delayed from previous errors make[1]: *** [install] Error 2

I can fix the problem by changing templates/Makefile to the following:
install: all
    $(INSTALL) -d -m755 $(call shellquote,$(DESTDIR)$(template_dir))
    (cd blt && $(TAR) cf - . > /tmp/a.tar) | \
    (cd $(call shellquote,$(DESTDIR)$(template_dir)) && $(TAR) xf /tmp/a.tar)
Next: Junio C Hamano
Message 1 of 3 in “make install bug?”
  1. eschvocaDec 12, 2005
  2. Junio C HamanoDec 12, 2005
  3. eschvocaDec 16, 2005

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.