[webkit-dev] Building Webkit

Sijin Joseph sijinj at coreobjects.com
Mon Mar 31 07:43:01 PDT 2008


>From your build log it looks like you're facing an issue that I faced earlier this week with the line endings.
Take a look at the build-generated-files.sh files in the windows specific project folders, some of them are using CRLF line endings, if your cygwin environment is setup to use unix line endings, then you'll get the errors below. Change the line endings in these files to be unix compatible i.e. LF and then the build-generated-files.sh script should run properly.

Also there was another issue in C:\cygwin\home\sijin\webkit\WebKitLibraries\win\tools\scripts\PRODUCTIONVERSION where the version number has a newline after it which was again breaking the build, that is hopefully fixed, if not then you can just delete the newline after the version 3.1.1 and you should be set.

Regards,
Sijin

1>build-generated-files.sh: line 2: $'\r': command not found
1>build-generated-files.sh: ../../../WebKitTools/Scripts/num-cpus: /usr/bin/perl: bad interpreter: No such file or directory
1>build-generated-files.sh: line 4: $'\r': command not found
1>realpath: No such file or directory
1>cygpath: cannot create short name of
1>build-generated-files.sh: line 11: export: `XSRCROOT': not a valid identifier
1>build-generated-files.sh: line 13: $'\r': command not found
1>build-generated-files.sh: line 15: export: `XDSTROOT': not a valid identifier
1>cygpath: cannot create short name of C:\cygwin\home\a21612\WebKit\WebKitBuild
1>build-generated-files.sh: line 20: export: `XDSTROOT': not a valid identifier
1>build-generated-files.sh: line 21: $'\r': command not found
1>build-generated-files.sh: line 23: export: `SDKROOT': not a valid identifier
1>cygpath: cannot create short name of C:\cygwin\home\a21612\WebKit\WebKitLibraries\win
1>build-generated-files.sh: line 28: export: `SDKROOT': not a valid identifier
1>build-generated-files.sh: line 29: $'\r': command not found
1>build-generated-files.sh: line 31: $'\r': command not found
1>mkdir: cannot create directory `\r\r': No such file or directory
1>build-generated-files.sh: line 33: cd: /obj/JavaScriptCore/DerivedSources: No such file or directory
1>build-generated-files.sh: line 34: $'\r': command not found
1>Can't open perl script "c:\Program": No such file or directory
1>build-generated-files.sh: line 37: exit: 1: numeric argument required


More information about the webkit-dev mailing list