[webkit-dev] Need help building on Windows

Jarrod jmclean at vivox.com
Mon Aug 20 12:43:01 PDT 2007


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/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070820/c14318a0/attachment.html


More information about the webkit-dev mailing list