WebKit
内核编译实在是一项折磨人的事情,虽然
webkit.org
官方有一个文档,但是?/p>
时候机器本身配置环境还是和教程有差别?/p>
其实?/p>
官方的描述已经非常到位,
只要保证每一
步都执行了,差别应该不大,需要多加处理的就是本机实际环境导致的具体问题?/p>
首先按照官方文档进行操作
http://www.webkit.org/building/tools.html
一、安?/p>
Visual 2005
If you own Visual Studio 2005 (newer versions of Visual Studio are currently
unsupported):
Install Microsoft Visual Studio 2005 Team Suite Service Pack 1.
If
you
are
building
from
Vista,
install
Service
Pack
1
Update
for
Windows
Vista.
Install Visual Studio 2005 Service Pack 1 ATL Security Update.
Install the following hotfixes to improve Visual Studio's performance and
responsiveness:
KB918559
KB935225
KB943969
KB947315
Use the default options for these installations.
注意点:
如果
Visual Studio 2005
装的是中文版,补丁程序必须要是中文版
二、安?/p>
cygwin
Install Cygwin
Cygwin is a collection of utilities for Windows that includes not only a
Subversionclient, but also additional tools that are required to build the WebKit
source. Wehave made a downloader available that automatically collects all of the
requiredpackages.
Download cygwin-downloader.zip.
Extract the content of the archive to some folder and start
cygwin-downloader.exe from that folder.This will download all the Cygwin packages
you need.
When all the packages have finished downloading, the Cygwin installer will
launch. ChooseInstall from Local Directory, then clickNext until theinstall is
complete. If you are running Vista, the installer won't be able to launch
automatically, so you will have to manually launch Cygwin's Setup.exe.
Note: If you are behind a proxy you need to set the http_proxy environment
variable to the URL of the proxy. This wouldlikely match this
pattern:http[s]://[username[:password]@]somehost.com[:port]. Where the square
brackets ([]) are not part of the url but enclose url elements that are optional
indicating that those elements might be missing in your case together with their
enclosed delimiter such as @ and :.
Note: Vista may warn you that Cygwin did not install correctly. Ignore this
warning and tell Vista that the install was successful.
Warning: If you are running Vista or Windows 7, Cygwin may have trouble with