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