Git clone problem, missing "configure"
A message that is not in the archive (sent off-list or not yet received): [email protected]
[cc +git@vger]
Quoted 2 lines · Anthony Willard
First off, I apologize if I have err'd in sending this directly to you. Please forward to the responsible party.
Usually such things just go to the list (which is open to non-subscribers).
Quoted 6 lines
I did a "git clone
git://git.kernel.org/pub/scm/git/git.git" to a fresh working folder.I attempted a "./configure" and it failed -- the file is missing; there is a "configure.ac". I had a different clone from mid March that contained the file.
Right. We don't commit the configure script, as it is auto-generated. You need to either:
1. Build from a release tarball which contains the "configure" script.
2. Run "autoconf" to generate the configure script (obviously this implies that you have GNU autoconf installed).
3. Just run "make" without configure. You may need to tweak some settings if you don't have some optional libraries installed. See the top of Makefile for details.
Quoted 3 lines
I found the entry in the ".gitignore" file, a "git blame .gitignore" yields:
...c591d5f3(Jeff King 2009-10-26 21:10:24 -0400 191) /configure
That does blame to me, but if you "git show c591d5f3" you will see that I was just tweaking the entries, and the original "configure" line predates me. Try the "blame parent" option of "git gui blame" or "tig", and you will see that 5566771 (the original commit adding autoconf support) is actually responsible. So yes, it has been intentionally ignored since the beginning.
Hope that helps,
-Peff
Hi,
Quoted 11 lines · Jeff King
Right. We don't commit the configure script, as it is auto-generated. You need to either:
1. Build from a release tarball which contains the "configure" script.
2. Run "autoconf" to generate the configure script (obviously this implies that you have GNU autoconf installed).
3. Just run "make" without configure. You may need to tweak some settings if you don't have some optional libraries installed. See the top of
Makefilefor details.
To add to this excellent reply, I should mention the
make configure
command. This runs autoconf, also filling in the version number for correct ./configure --help output. :)
See the README and INSTALL files for more details.
Hope that helps,
Jonathan