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

Re: git-1.4.0 make problems

From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Jun 17, 2006, 06:58 UTC
Message-ID
<4493A810.6010706@lsrfire.ath.cx>
In-Reply-To
<200606170218.k5H2I0o0003192@grail.cba.csuohio.edu>
| I downloaded the git-1.4.0.tar.bz2 recently and encountered a few
| problems.
|
| 1) The untar process creates a stray file "pax_global_header".
| I am using GNU tar v1.13.22 and I get this message :
|
| ======================================================================
| > tar jxf ~/u/source/git-1.4.0.tar.bz2
| tar: pax_global_header: Unknown file type 'g', extracted as normal
| file
| ======================================================================

You can ignore or delete that file. It is a pax extended global header, containing the git commit ID as a comment. GNU tar started supporting pax headers with version 1.13.93 (released 2004-02-23). Version 1.13.22 was released on 2001-08-29, by the way. May I ask what operating system and version you are using?

| 2) The make install process ignores the "prefix=..." argument. I have
| to comment out one line for this :
|
| ======================================================================
| > diff Makefile git-1.4.0/
| 94c94
| < #prefix = $(HOME)
| ---
| > prefix = $(HOME)
| ======================================================================

It took me a while to realize that your diffs are reversed. It's too early for me, I think I'll go to bed again. :)

Anyway, prefix handling is currently being worked on. Yakov Lerner sent a patch which seems to make make do what you need.

| 3) The make has a problem with "expat" include and libararies.
| I have to add more lines to the Makefile to handle this like some
| of the other include and libraries :
|
| ======================================================================
| 351,358c351
| < endif
| <
| < ifndef NO_EXPAT
| <       ifdef EXPATDIR
| <               # This is still problematic -- gcc does not always want -R.
| <               ALL_CFLAGS += -I$(EXPATDIR)/include
| <               EXPAT_LIBEXPAT = -L$(EXPATDIR)/lib -R$(EXPATDIR)/lib -lexpat
|
| <           else
| ---
| >       ifndef NO_EXPAT
| 360c353
| <           endif
| ---
| >       endif
| ======================================================================
Looks sensible, except for the formatting.
| Other than that, it installed okay. I will have to read the docs and
| use it to see how it goes otherwise.

A good first exercise would be to fetch the git repository, edit Makefile and commit your change, and then send a patch to this list -- all using git (except the editing part). :-) Care to try that? Please let us know of any difficulties you may encounter.

Thanks, René

Previous: Michael SomosNext: Junio C Hamano
Message 2 of 5 in “git-1.4.0 make problems”
  1. Michael SomosJun 17, 2006
  2. Rene ScharfeJun 17, 2006
  3. Junio C HamanoJun 17, 2006
  4. Rene ScharfeJun 17, 2006
  5. Junio C HamanoJun 17, 2006

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.