Error building installing on Redhat Linux Server release 5.3 (Tikanga)

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

Error building installing on Redhat Linux Server release 5.3 (Tikanga)

From: Michael Cox <hidden>
Date: 2016-06-15 22:48:27

I downloaded the latest tarball (git-1.7.0.2), configured it, and
make'ed it.  When I did a "make install", the build seemed to work and
most of the install, but I got an error when the installation tried to
use gtar:

make -C templates DESTDIR='' install
make[1]: Entering directory `/users/e477610/exptool/src/git-1.7.0.2/templates'
install -d -m 755 '/home/e477610/exptool/share/git-core/templates'
(cd blt && gtar cf - .) | \
        (cd '/home/e477610/exptool/share/git-core/templates' && umask
022 && gtar xof -)
gtar: This does not look like a tar archive
gtar: Skipping to next header
gtar: Archive contains obsolescent base-64 headers
gtar: Error exit delayed from previous errors
make[1]: *** [install] Error 2
make[1]: Leaving directory `/users/e477610/exptool/src/git-1.7.0.2/templates'
make: *** [install] Error 2

When I try to run "git clone
http://www.kernel.org/pub/scm/git/git.git", I get the following error:

$  git clone http://www.kernel.org/pub/scm/git/git.git
Initialized empty Git repository in /users/e477610/exptool/src/git/.git/
fatal: Unable to find remote helper for 'http'

I assume it's because I didn't finish the install properly.  Any ideas
why the install of the build failed and what I could do to make it
complete?

Michael

Re: Error building installing on Redhat Linux Server release 5.3 (Tikanga)

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:48:27

Michael Cox wrote:
(cd blt && gtar cf - .) | \
        (cd '/home/e477610/exptool/share/git-core/templates' && umask 022 && gtar xof -)
gtar: This does not look like a tar archive
gtar: Skipping to next header
gtar: Archive contains obsolescent base-64 headers
gtar: Error exit delayed from previous errors
make[1]: *** [install] Error 2
Your tar command seems to be seriously broken: it is producing output
that it cannot consume.

What is the output of “gtar --version”?  Does this problem still occur if
you try again?  If you run the command above by hand, does it produce
the same result?

I checked https://bugzilla.redhat.com/ for known problems but did not
find anything similar.  If this problem proves reproducible, I would
suggest reporting it with them.

In the mean time, you can use git without installing it by adding
/home/e477610/exptool/share/git-core/bin-wrappers to your $PATH. :)

Hope that helps,
Jonathan

Re: Error building installing on Redhat Linux Server release 5.3 (Tikanga)

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:48:27

Jonathan Nieder wrote:
In the mean time, you can use git without installing it by adding
/home/e477610/exptool/share/git-core/bin-wrappers to your $PATH. :)
Or rather $(pwd)/bin-wrappers, where $(pwd) is the directory git was
built in.  I read your message a little too quickly, sorry.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help