[webkit-help] Building WebKit issue (Visual C++ 2005 Express)

Jawahar Muthukrishnan JMuthukrishnan at Novarra.com
Mon Oct 19 10:01:44 PDT 2009


I am trying to build WebKit on Visual C++ 2005 Express. 

 

Note: I already have a full installation of Cygwin, and so didn't
download specifically for WebKit. Other than that, I downloaded all
files as detailed in the WebKit site.

 

 

Problem 1:

 

When building JavaScriptCoreGenerated I get the following error:

Can't open perl script
"/cygdrive/d/CYGWIN~1/home/JMUTHU~1/WebKit/JAVASC~1/docs/make-bytecode-d
ocs.pl": No such file or directory 

I looked at the "DerivedSources.make" file to check the problem. The
line "perl $^ $@" is the culprit. I checked the version of perl being
used "perl, v5.10.0". So, I then modified make file to use "perl6.0.exe"
and this caused to the file "make-bytecode-docs.pl" to be read, but was
getting other errors. So, I dropped the idea. 

 

Question 1: What's causing Perl to not be able to read the file
"make-bytecode-docs.pl"

 

Problem 2:

When building "JavaScriptCore" project, I get the following error:

2>D:\WebKitOutput\obj\JavaScriptCore\DerivedSources\chartables.c(13) :
error C2466: cannot allocate an array of constant size 0

2>..\..\pcre\pcre_tables.cpp(73) : fatal error C1075: end of file found
before the left brace '{' at
'D:\WebKitOutput\obj\JavaScriptCore\DerivedSources\chartables.c(13)' was
matched

 

I opened "chartables.c" and saw the file to have the following
definition, without an ending brace. And also the array size is defined
as 0...  (please question at the bottom)

 

const unsigned char jsc_pcre_default_tables[0] = {

 

/* This table is a lower casing table. */

 

  0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 

  0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 

  0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 

  0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 

  0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 

  0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 

  0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 

  0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 

  0x40, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 

  0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 

  0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 

  0x78, 0x79, 0x7A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 

  0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 

  0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 

  0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 

  0x78, 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x7F,

 

/* This table is a case flipping table. */

 

 

Question 2: 

When I changed this file to remove "0" from the array size definition
and added a ending brace with a semi-colon, the project compiled. So,
What's going on?

 

 

Thanks 

Jawahar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20091019/97769923/attachment.html>


More information about the webkit-help mailing list