wiki:WindowsWithoutCygwin

Version 5 (modified by mmaxfield@apple.com, 7 years ago) (diff)

--

Here are the steps I had to take to build WebKit on Windows 8.1 without Cygwin (Apple Win port)

  1. Install the following programs:
    1. Visual Studio. https://www.visualstudio.com/en-us/products/visual-studio-community-vs
    2. ActiveState Perl. 64-bit is fine. http://www.activestate.com/activeperl/downloads
    3. ActiveState Python. Make sure it's version 2.x instead of 3.x. 64-bit is fine. http://www.activestate.com/activepython/downloads Make sure you don't download it from python.org because we hardcode the executable name as "python2.7" and the python.org python doesn't include an executable with that name.
    4. Ruby. 64-bit is fine. http://rubyinstaller.org/
    5. Gperf. http://gnuwin32.sourceforge.net/packages/gperf.htm
    6. Bison. http://gnuwin32.sourceforge.net/packages/bison.htm
    7. GNU Make. http://gnuwin32.sourceforge.net/packages/make.htm
    8. Git. http://www.git-scm.com/download/win Note: Make sure you select the option "Use Git from the Windows Command Prompt." This is because it installs a sh.exe in your path, and if the location of that sh.exe has spaces in it, Make gets confused. When I installed this, I unchecked all the options.
  1. Make sure all the programs you just installed (except Visual Studio) are accessible through your $PATH. http://www.itechtics.com/customize-windows-environment-variables/ You may be required to reboot after modifying $PATH before new shells will see the updated variable.
  1. > git clone git://git.webkit.org/WebKit.git
  1. Download the WebKit Support Libraries to the root of your source tree. If the file is incorrectly named, rename it to WebKitSupportLibrary.zip. Do not extract its contents.
  1. > cd WebKit\Tools\Scripts
  1. > perl update-webkit
  1. If the above command asks you to reboot your machine, do so
  1. > perl build-webkit