Re: Git building is borked
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Mar 8, 2007, 15:13 UTC
- Message-ID
- <20070308151302.GC30674@spearce.org>
- In-Reply-To
- <C5E8BD06-1404-403B-88D0-F24F386A14AF@cam.ac.uk>
Anton Altaparmakov <aia21@cam.ac.uk> wrote:
Show 8 quoted lines
> On 8 Mar 2007, at 14:55, Shawn O. Pearce wrote: > >What version of Git specifically are you building with? How did > >you obtain these source files? > > On my old workstation (Linux) which has the git git tree on it I > tarred up the files in the git directory (not including the .git > directory), then scp-ed the tar ball to my new workstation (OSX), > untarred it there and tried to build git to boot strap...
Since you solved your problem, this is more for the list archives than anything:
Use `make dist` instead. It uses your currently installed Git to generate a tarball from the revision in HEAD, then appends in the 4 critical files. I use this all of the time (almost daily, or close to it) to do builds of Git on Cygwin and Solaris 9. In both cases I am building without `git` (or .git) available, and am relying on just the output of `make dist`.
-- Shawn.