[webkit-dev] Webkit Building failed on Windows

Adam Roben aroben at apple.com
Thu Oct 11 13:38:55 PDT 2007


James tu wrote:
> build-generated-files.sh: line 2: $'\r': command not found
> build-generated-files.sh: line 4: $'\r': command not found
> realpath: No such file or directory
> cygpath: cannot create short name of
> build-generated-files.sh: line 11: export: `XSRCROOT': not a valid 
> identifier
> build-generated-files.sh: line 13: $'\r': command not found
> build-generated-files.sh: line 15: export: `XDSTROOT': not a valid 
> identifier
> cygpath: cannot create short name of 
> d:\Profiles\w30339.DS\WebKit\WebKitBuild
> build-generated-files.sh: line 20: export: `XDSTROOT': not a valid 
> identifier
> build-generated-files.sh: line 21: $'\r': command not found
> build-generated-files.sh: line 23: export: `SDKROOT': not a valid 
> identifier
> cygpath: cannot create short name of 
> d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
> build-generated-files.sh: line 28: export: `SDKROOT': not a valid 
> identifier
> build-generated-files.sh: line 29: $'\r': command not found
> build-generated-files.sh: line 31: $'\r': command not found
> build-generated-files.sh: line 44: syntax error: unexpected end of file

It looks like bash is screwing up somehow. It looks like it is at least 
unhappy about the line-endings of the build-generated-files.sh script 
(given the error on line 2). Did you check out the sources using 
Subversion from Cygwin? Did you configure Cygwin to use UNIX-style 
line-endings when you installed it? Is the version of bash that's being 
invoked the one that Cygwin installed?

-Adam



More information about the webkit-dev mailing list