Git尝试检索在Windows下编译qt5源代码时失败

问题描述:

我试图在Windows上构建qt5。我遵循“Building Qt 5 from Git”的指示。Git尝试检索在Windows下编译qt5源代码时失败

但是,我甚至无法成功地检索原始码。
初始命令“git clone git://gitorious.org/qt/qt5.git qt5”已成功完成。
但接下来的命令“perl的初始化存储库”,出现以下错误信息失败:

+ git submodule init 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 
AllocationBase 0×0, BaseAddress 0×68560000, RegionSize 0×170000, State 0×10000 
c:\program files (x86)\git\bin\sh.exe: *** Couldn’t reserve space for cygwin’s h 
eap, Win32 error 0 
git submodule init exited with status 256 at init-repository line 268. Qt::InitRepository::exe(‘Qt::InitRepository=HASH ’, ‘git’, ‘sub 
module’, ‘init’) called at init-repository line 373 Qt::InitRepository::git_submodule_init(‘Qt::Init Repository=HASH’) called at init-repository line 569 Qt::InitRepository::run(‘Qt::InitRepository=HASH ’) called at i 
nit-repository line 590 

我使用msysgit(Git的适用于Windows)1.8.1.2,活跃的Perl 5.16.3和Python 3.3.0。

检查中issue 133作品推荐DLL修复:

看来,这是不固定的,今天我就遇到了这个问题。 DLL修复虽然确实工作。

我正在使用Git-1.7.8-preview20111206。

的IFX是用于下载msys-1.0.dllinitially available here),并在c:\yourPath\Git\bin替换它。