Re: Errors building git-1.5.2.2 on 64-bit Centos 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Lear <rael@xxxxxxxxxx> writes:

> On Tuesday, June 19, 2007 at 16:30:00 (+0200) Marco Roeland writes:
>>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.

Not sure whether this is the problem: either cd does not understasnd
the double slashes, or your shell used for scripts has modified cd to
output some stuff when it is working (people sometimes imprudently
make shell functions or aliases for this).

Try writing something like

type cd

in a script file and see what output you get.

-- 
David Kastrup

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux