Re: MinGW build environment for Git
- From
- Dmitry Kakurin <dmitry.kakurin@gmail.com>
- Date
- Aug 1, 2007, 09:08 UTC
- Message-ID
- <a1bbc6950708010208v15071005w3bcc471bef172fcc@mail.gmail.com>
- In-Reply-To
- <46B016FC.4050005@trolltech.com>
On 7/31/07, Marius Storm-Olsen <marius@trolltech.com> wrote:
Show 12 quoted lines
> 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 1Then 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 directorySearching 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 1What do I do now?
-Dmitry