Install the Xcode Tools package
Install the Xcode Tools package from http://connect.apple.com. Xcode 2.3 or later is required to build.
Install a Subversion Client (Tiger only)
Subversion (svn) is the source code management tool used by the WebKit Open Source Project. A Subversion client for Mac OS X 10.4 and later is available. Leopard (10.5) and later already include a subversion client.
Install Python 2.5 or later (Tiger only)
Python is a scripting language used by the WebKit Open Source Project. WebKit scripts require Python 2.5 or later to run. Tiger includes Python 2.3 which is too old to support WebKit's Python scripts.
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:
Use the default options for these installations.
If not, you can use Visual C++ Express 2005 (newer versions of Visual C++ Express Edition are currently unsupported):
Install Visual C++ 2005 Express.
Install Microsoft Visual C++ Express 2005 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 Windows Server 2003 R2 Platform SDK, then follow steps 2 and 3 of “How to: Use Visual C++ Express Edition with the Microsoft Platform SDK.”
Use the default options for all installations.
In addition to the paths specified in step 3 of the Platform SDK installation instructions, you must also add the following include path. Update the Visual C++ directories in the Projects and Solutions section in the Options dialog box:
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc
Install Cygwin
Cygwin is a collection of utilities for Windows that includes not only a Subversion client, but also additional tools that are required to build the WebKit source. We have made a downloader available that automatically collects all of the required packages.
Download cygwin-downloader.zip.
Right-click cygwin-downloader.zip
and choose Extract All....
Keep all the default options and click Next until the file is extracted and the cygwin-downloader folder opens.
Double-click cygwin-downloader.exe
. This will download all the Cygwin packages you need.
When all the packages have finished downloading, the Cygwin installer will launch. Choose Install from Local Directory, then click Next until the install 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.
Vista may warn you that Cygwin did not install correctly. Ignore this warning and tell Vista that the install was successful.
If you are running Vista, click on the Start menu, enter the following command, and press Enter:
C:\cygwin\bin\ash -c /bin/rebaseall
Install QuickTime SDK
Download QuickTime SDK for Windows from http://developer.apple.com/quicktime/download/ and install it to the default location (\Program Files\QuickTime SDK). This is needed for media support.
Optional: Install the 32-bit version of Debugging Tools for Windows
Debugging Tools for Windows includes many useful debugging tools such as WinDbg and NTSD. Some of WebKit’s tests and scripts use these tools. Follow the instructions for installing the 32-bit version of Debugging Tools for Windows.
Optional: Hotfix for 64-bit Windows to disable the user-mode callback filter for exceptions
Without the 976038 hotfix, exceptions may be thrown in callback routines that do not cause a crash but leave the application in an inconsistent state that might cause a crash later. You will need to click on "View and request hotfix downloads" and fill out the form. A link to download the hotfix and a password will be emailed to you.
Once you have installed your developer tools, the next step is getting the code.