[webkit-dev] Webkit Building error on XP

Brent Fulgham bfulgham at gmail.com
Mon Dec 22 09:19:02 PST 2008


On Sun, Dec 21, 2008 at 5:45 PM, John Doe <uniquepieceof at gmail.com> wrote:
> a) http://webkit.org/building/tools.html
> b) http://webkit.org/building/build.html
> Any help would be greatly appreciated. Thank you.

I suspect something is failing earlier in the build process, and you
are seeing a symptom in your later error message.

Here are the typical problems people encounter:

1.  Forgetting to set the WEBKITOUTPUTDIR environment variable.  This
causes various shell expansions in the driver scripts to fail, as
things that should point to real directories end up resolving to
partial path names.
2.  Using an existing installation of Cygwin.  If you are missing the
tools that ship in the WebKitvariation from the website, things will
not build properly.  I tried this initially, and failed because I was
missing 'gperf', but I found it easier to just ditch the existing
Cygwin install and use the WebKit download.
3.  Using TortoiseSVN or another Windows client that mangles line
endings.  The scripts that run under Cygwin often expect UNIX line
endings.  If your SVN client adds '\r' to the files, you will get all
sorts of problems.

It's hard to say what's really wrong without the correct build log.  I
would look at what WTF and JavaScriptCoreGenerated show to see what
might be going wrong.

But I suspect one of the three items above is your problem.

Good luck!


> Here is a buildlog describing the problem that i'm facing :-
> JSWorkerLocation.cpp
> JSWorkerContext.cpp
> JSWorker.cpp
> JSWebKitTransitionEvent.cpp
> JSWebKitCSSKeyframesRule.cpp
> JSWebKitCSSKeyframeRule.cpp
> JSWebKitAnimationEvent.cpp
> JSSVGElementWrapperFactory.cpp
> HTMLNames.cpp
> Compiling...
> CSSGrammar.cpp
> XPathGrammar.cpp
> Compiling...
> 1
> c1xx : fatal error C1083: Cannot open source file: '1': No such file or
> directory
> SVGParserUtilities.cpp
> TextCodecICU.cpp
> FontWin.cpp
> Font.cpp
> XPathGrammar.cpp is actually generated in WebKitBuild\obj\WebCore\
> DerivedSources.
> Earlier in my build process, i'm getting the same error but for different
> file called SVGParserUtilities.cpp. Then i remove WebkitBuild and do a
> rebuild.
> Thank you.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list