Re: Errors building git-1.5.2.2 on 64-bit Centos 5
- From
Bill Lear <rael@zopyra.com>
- Date
- Jun 19, 2007, 14:48 UTC
- Message-ID
- <18039.60598.264803.940960@lisa.zopyra.com>
- In-Reply-To
- <20070619143000.GA15352@fiberbit.xs4all.nl>
On Tuesday, June 19, 2007 at 16:30:00 (+0200) Marco Roeland writes:
Show 10 quoted lines
>On Tuesday June 19th 2007 at 08:50 Bill Lear wrote: >> >> I checked and there is no iconv package (rpm). I really don't want >> to have to temporarily rename a header. I can't hand this out to >> the rest of the company, some of whom do not have root access to >> be able to rename header files. > >You might at least investigate if there is somehow another iconv.h >header besides the system one under /usr/include, that might have been >used by the compiler instead of the standard one from GNU libc.
Ok, I moved all the *iconv* stuff in /usr/local/<blah> and now it builds ok.
However, I still get this:
install -d -m755 '/opt/git-1.5.2.2/share//git-core/templates/' (cd blt && tar cf - .) | \ (cd '/opt/git-1.5.2.2/share//git-core/templates/' && tar xf -) tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Error exit delayed from previous errors
So, I did a make -k and it worked ok, aside from this error.
I copied this line:
(cd blt && tar cf - .) | \ (cd '/opt/git-1.5.2.2/share//git-core/templates/' && tar xf -)
into a file, chmod +x'd that file, and cd'd into templates and ran the script. I got the same error. I then tried running it by hand from the command line:
% cd templates % (cd blt && tar cf - .) | (cd /opt/git-1.5.2.2/share/git-core/templates && tar xf -)
and it worked fine.
Bill