git-1.4.0 make problems
flat view
From: Michael Somos <hidden>
Date: 2016-06-15 22:42:29
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 ====================================================================== 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)
====================================================================== 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
====================================================================== Other than that, it installed okay. I will have to read the docs and use it to see how it goes otherwise.