Re: Git building is borked

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

 



btw. Would it be an idea to maybe make building/installing git-gui optional?

I actually did "make configure" and then the configure script... It should not be too hard to make that detect whether it is running in the git repository and if not and the files are not there either automatically disable git-gui. Or at least allow a "--disable-git- gui" switch to ./configure or something.

Would make the lives of weird people like me easier.  (-:

Best regards,

	Anton

On 8 Mar 2007, at 14:55, Shawn O. Pearce wrote:

Anton Altaparmakov <aia21@xxxxxxxxx> wrote:
But now I put the git-gui mentions back into the Makefile and tried
again it still fails.  Looking at it closer it actually requires me
to compile within a checked out git tree, i.e. including the .git
directory and all its contents!  That seems even weirder than
requiring git to be installed in the first place...

What version of Git specifically are you building with?  How did
you obtain these source files?

Release tarballs of Git contain a git-gui/credits file that makes
CREDITS-GEN avoid invoking the not-yet-existing Git.  Building
git-gui without this file does require not only a working Git
installation, but also the git-gui object database.  Both of these
are readily available on a Git hacker's system, and on any system
that is attempting to create a release tarball.

There are other files included in the release tarballs (version,
git-gui/version) that are also required to get a correct build when
you don't have Git installed, or are missing its object database.
Having these missing does not stop the build process, but it does
make the output of `git version` and `git gui version` relatively
useless.


So you need to be bootstrapping from a released *.tar.{gz,bz2},
which can be found here:

  http://www.kernel.org/pub/software/scm/git/


Sadly, simply downloading the source files from a random gitweb
doesn't work anymore.  Yes, I know, my fault.  ;-)

--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/


-
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]