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

Re: MinGW build environment for Git

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 1, 2007, 10:44 UTC
Message-ID
<Pine.LNX.4.64.0708011143180.14781@racer.site>
In-Reply-To
<a1bbc6950708010208v15071005w3bcc471bef172fcc@mail.gmail.com>
Hi,
On Wed, 1 Aug 2007, Dmitry Kakurin wrote:
Show 43 quoted lines
> On 7/31/07, Marius Storm-Olsen <marius@trolltech.com> wrote:
> > Dmitry Kakurin said the following on 30.07.2007 01:14:
> > > I want to be able to build MinGW port of Git on Windows. I've tried
> > > to follow steps in README.MinGW to setup this environment myself
> > > (install MinGW, MSys, ZLib etc.) but after wasting a lot of time
> > > with no result I give up. So, could somebody please just pkzip
> > > their environment (everything required) and share the zip file with
> > > me (privately or publicly)? I also think that an even better idea
> > > is to create a new Git repository with MinGW build environment.
> > > This will make contributing to MinGW port of Git MUCH easier.
> >
> > Aaron has done this, and you can find the link on his blog, here:
> >     http://www.ekips.org/cgi-bin/aaron.cgi/2007/02/27
> 
> I've downloaded and installed it. But I could not make it work :-(.
> First I had this problem:
> $ make
> GIT_VERSION = 1.5.3.GIT
>     * new build flags or prefix
>     CC convert-objects.o
> gcc.exe: installation problem, cannot exec `cc1': No such file or directory
> make: *** [convert-objects.o] Error 1
> 
> Then I've copied cc1.exe and some others from
> C:\mingw4git\libexec\gcc\mingw32 into /bin.
> 
> $ make
>     CC convert-objects.o
> In file included from cache.h:4,
>                  from convert-objects.c:1:
> git-compat-util.h:51:22: sys/wait.h: No such file or directory
> 
> Searching entire (downloaded) tree for wait.h gives nothing.
> 
> 'make configure' does not work:
> $ make configure
>     GEN configure
> configure.ac+:4: error: Autoconf version 2.59 or higher is required
> configure.ac+:4: the top level
> autom4te: /bin/m4 failed with exit status: 1
> make: *** [configure] Error 1
> 
> What do I do now?

This looks like you downloaded git.git. Official releases do not have MinGW support yet! You have to get the MinGW port from repo.or.cz:

	http://repo.or.cz/w/git/mingw.git

Hth, Dscho

Previous: Dmitry KakurinNext: Dmitry Kakurin
Message 4 of 5 in “MinGW build environment for Git”
  1. Dmitry KakurinJul 29, 2007
  2. Marius Storm-OlsenAug 1, 2007
  3. Dmitry KakurinAug 1, 2007
  4. Johannes SchindelinAug 1, 2007
  5. Dmitry KakurinAug 1, 2007

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.