git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git clone problem, missing "configure"

From
Jeff King <peff@peff.net>
Date
May 18, 2010, 20:01 UTC
Message-ID
<20100518200150.GB4448@coredump.intra.peff.net>
In-Reply-To
<984297.53304.qm@web30503.mail.mud.yahoo.com>
[cc +git@vger]
On Fri, May 14, 2010 at 01:50:16PM -0700, Anthony Willard wrote:
> 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).

Show 6 quoted 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.
> 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

Next: Jonathan Nieder
Message 1 of 2 in “Re: Git clone problem, missing "configure"”
  1. Jeff KingMay 18, 2010
  2. Jonathan NiederMay 18, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.