Changes between Version 2 and Version 3 of WindowsWithoutCygwin


Ignore:
Timestamp:
Mar 24, 2015 8:05:15 PM (9 years ago)
Author:
mmaxfield@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WindowsWithoutCygwin

    v2 v3  
    11Here are the steps I had to take to build WebKit on Windows 8.1 without Cygwin (Apple Win port)
    22
    3 0. Do NOT install Git from http://www.git-scm.com/download/win or http://msysgit.github.io/. This package will install a sh.exe next to git.exe (so it will therefore be in your $PATH), at a location which has spaces in it. This confuses GNU Make.
    4 1. Install Visual Studio. https://www.visualstudio.com/en-us/products/visual-studio-community-vs
    5 2. Install ActiveState Perl. 64-bit is fine. http://www.activestate.com/activeperl/downloads
    6 3. Install 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.
    7 4. Install Ruby. 64-bit is fine. http://rubyinstaller.org/
    8 5. Install Gperf. http://gnuwin32.sourceforge.net/packages/gperf.htm
    9 6. Install Bison. http://gnuwin32.sourceforge.net/packages/bison.htm
    10 7. Install GNU Make. http://gnuwin32.sourceforge.net/packages/make.htm
     31. Do NOT install Git from http://www.git-scm.com/download/win or http://msysgit.github.io/. This package will install a sh.exe next to git.exe (so it will therefore be in your $PATH), at a location which has spaces in it. This confuses GNU Make. The GitHub app has a similar problem.
     4
     52. Install the following programs:
     6  1. Visual Studio. https://www.visualstudio.com/en-us/products/visual-studio-community-vs
     7  2. ActiveState Perl. 64-bit is fine. http://www.activestate.com/activeperl/downloads
     8  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.
     9  4. Ruby. 64-bit is fine. http://rubyinstaller.org/
     10  5. Gperf. http://gnuwin32.sourceforge.net/packages/gperf.htm
     11  6. Bison. http://gnuwin32.sourceforge.net/packages/bison.htm
     12  7. GNU Make. http://gnuwin32.sourceforge.net/packages/make.htm
     13  8. Subversion. http://sourceforge.net/projects/win32svn/
     14
     153. 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.
     16
     174. > svn checkout https://svn.webkit.org/repository/webkit/trunk WebKit
     18
     195. 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.
    1120
    1221TODO: Finish this