Hello, I am trying to build the webkit on Windows and have been unsuccessful so far. Basically I have installed all the dependant software (I believe), and I have updated the path and added the proper Environment variables (again, I believe). I found that the last nightly build on windows as of last Friday was (http://nightly.webkit.org/) webkit-24872, so I brought down this revision from SVN. I am currently getting the following build errors when I run "perl WebKitTools\Scripts\build-webkit" from the webkit root directory: In file included from ..\..\..\JavaScriptCore\pcre\/pcre_internal.h:107, from ..\..\..\JavaScriptCore\pcre\pcre_get.c:46: c:/Program Files/Microsoft Visual Studio 8/VC/INCLUDE/setjmp.h:240: error: syntax error before "jmp_buf" c:/Program Files/Microsoft Visual Studio 8/VC/INCLUDE/setjmp.h:240: error: `_JBLEN' undeclared here (not in a function) c:/Program Files/Microsoft Visual Studio 8/VC/INCLUDE/setjmp.h:240: warning: data definition has no type or storage class c:/Program Files/Microsoft Visual Studio 8/VC/INCLUDE/setjmp.h:247: error: syntax error before "_Buf" c:/Program Files/Microsoft Visual Studio 8/VC/INCLUDE/setjmp.h:259: error: syntax error before "_Buf" c:/Program Files/Microsoft Visual Studio 8/VC/INCLUDE/setjmp.h:240: error: storage size of `jmp_buf' isn't known mingw32-make[2]: *** [tmp\pcre_get.o] Error 1 mingw32-make[1]: *** [release] Error 2 mingw32-make: *** [sub-WebCore-make_default-ordered] Error 2 Your vendor has not defined POSIX macro WEXITSTATUS, used at WebKitTools\Scripts \build-webkit line 141 I have found that I have eleven versions of jmp_buf.h on my machine, they are: C:\MinGW\include C:\cygwin\usr\include C:\cygwin\usr\include\machine C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\crt C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\src\crt C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include C:\Program Files\Microsoft Visual Studio 8\VC\include C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\crt\src C:\Program Files\Microsoft Visual Studio 8\VC\crt\src C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Include C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\Smartphone2003\Include And my path (the mess that it currently is) is: C:\MinGW\bin;C:\Perl\bin;C:\Python25\;"C:\Program Files\Microsoft DirectX SDK (June 2006)\Utilities\Bin\x86";C:\Program Files\CMake 2.4\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Pro gram Files\Common Files\GTK\2.0\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\Roxio Shared\DLLShared;%QTDIR%\bin;C:\Qt\4.2.2\bin;C:\bin;C:\bin\wix;C:\bin\wix\sd k;C:\bin\wix\sdk\lib;C:\Program Files\svn\\bin;C:\Program Files\Subversion\bin;C:\Qt\4.2.3\bin;C:\Program Files\GnuWin32\bin;C:\cygwin\bin Can someone please help me get past these issues? I assume that I have my path in the wrong order, thus picking up the wrong version of jmp_buf.h, but I do not know which one I should be getting. Any help on getting this to build, or any detailed instructions for building on Windows would be greatly appreciated. We have a multi-platform product that currently runs on Mac, Windows, and Linux, and we need to prove that webkit runs on all these platforms before we comit to integrating into our product. Thanks in advance, Jarrod __________________________________________ Jarrod McLean Senior Software Engineer Vivox, Inc 40 Speen St., Suite 402 Framingham, MA 01701 www.vivox.com <http://www.vivox.com/>
On Aug 20, 2007, at 12:43 PM, Jarrod wrote:
Hello,
I am trying to build the webkit on Windows and have been unsuccessful so far. Basically I have installed all the dependant software (I believe), and I have updated the path and added the proper Environment variables (again, I believe).
Hi Jarrod- Are you building the Qt port of WebKit on Windows? I ask because there are currently (at least) 2 flavors of WebKit that can be built on Windows, the Qt one and the one that Safari uses. Which are you trying to build? What build instructions are you following? My guess is that you're building the Qt port, given that you have MinGW and ActiveState Perl installed (the flavor of WebKit that Safari uses requires Cygwin and Cygwin's perl). -Adam
Adam, I am trying to build the QT port on windows, I may be using the wrong directions because I did not know there were two flavors on windows. I am currently using the build instructions that are found in .\webkit\WebKitSite\building\build.html that come down with the code from SVN. I assume now that this is the wrong directions for building the QT port. Any help on building the QT port would be appreciated. Thanks, Jarrod _____ From: Adam Roben [mailto:aroben@apple.com] Sent: Monday, August 20, 2007 4:12 PM To: Jarrod Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] Need help building on Windows On Aug 20, 2007, at 12:43 PM, Jarrod wrote: Hello, I am trying to build the webkit on Windows and have been unsuccessful so far. Basically I have installed all the dependant software (I believe), and I have updated the path and added the proper Environment variables (again, I believe). Hi Jarrod- Are you building the Qt port of WebKit on Windows? I ask because there are currently (at least) 2 flavors of WebKit that can be built on Windows, the Qt one and the one that Safari uses. Which are you trying to build? What build instructions are you following? My guess is that you're building the Qt port, given that you have MinGW and ActiveState Perl installed (the flavor of WebKit that Safari uses requires Cygwin and Cygwin's perl). -Adam
On Aug 21, 2007, at 6:33 AM, Jarrod wrote:
Adam,
I am trying to build the QT port on windows, I may be using the wrong directions because I did not know there were two flavors on windows. I am currently using the build instructions that are found in …\webkit\WebKitSite\building\build.html that come down with the code from SVN. I assume now that this is the wrong directions for building the QT port. Any help on building the QT port would be appreciated.
I believe the instructions you want are here: <http://trac.webkit.org/projects/webkit/wiki/BuildingQtOnWindows
. It would be nice eventually to have a better organization for the build instructions for the various ports!
-Adam
participants (2)
-
Adam Roben
-
Jarrod