[webkit-dev] Webkit Building failed on Windows

2007-10-09 Thread James tu
Hello guys,
   
  I tried to build the webkit on windows but failed. Here are the steps I 
followed
  1. Install Visual C++ 2005 Express
  2. Install Microsoft Visual C++ Express 2005 Service Pack 1
  3 .Install the Windows Platform SD. Add the path following the installation 
guide
  4. Install Cygwin
  5. download webKit source code
  6. Download the WebKit Support Libraries  and put it in the webKit folder
  7. open Cygwin console, run WebKit/WebKitTools/Scripts/build-webkit
   
  the error message is as follow
  Unsupported platform, can't determine built library locations. at 
D:/Profiles/w3
0339.DS/WebKit/WebKitTools/Scripts/webkitdirs.pm line 343.
   
  Does anybody konw what's wrong? 
   
  thanks in advance
   
  James Tu
   
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-09 Thread Adam Roben

On Oct 9, 2007, at 2:48 PM, James tu wrote:


7. open Cygwin console, run WebKit/WebKitTools/Scripts/build-webkit

the error message is as follow
Unsupported platform, can't determine built library locations. at D:/ 
Profiles/w3

0339.DS/WebKit/WebKitTools/Scripts/webkitdirs.pm line 343.

Does anybody konw what's wrong?


Are you sure you're using the version of Perl installed with Cygwin?  
Running `perl --version` should tell you. Seeing the word "cygwin" in  
the first line will indicate that you're using Cygwin's Perl.


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-10 Thread Adam Roben

(CCing webkit-dev for the benefit of future question-askers)

James tu wrote:

Hi Adam,
I download cygwin package from open source webkit site and 
reinstall it.  After type WebKit/WebKitTools/Scripts/build-webkit, it 
will build for about 2-3 minutes then exit without any message. 
 
In the cygwin, it only shows 
 
Checking mod-date of WebKitSupportLibrary.zip...

Current WebKitSupportLibrary is up to date
Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: 
d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 
8/Common7/IDE/VCExpress.exe wi

n\WebKit.vcproj\WebKit.sln /build Release
Do you have any idea? I installed  Visual C++ 2005 Express 
, Microsoft Visual 
C++ Express 2005 Service Pack 1 
 and 
Windows Platform SD 
K
 
Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:


find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-10 Thread James tu
Hi Adam,
  I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems machine 
environment variables may not be correct. But don't know what exactly cause 
this?
   
  thanks

Adam Roben <[EMAIL PROTECTED]> wrote: 
  (CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
> Hi Adam,
> I download cygwin package from open source webkit site and 
> reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it 
> will build for about 2-3 minutes then exit without any message. 
> 
> In the cygwin, it only shows 
> 
> Checking mod-date of WebKitSupportLibrary.zip...
> Current WebKitSupportLibrary is up to date
> Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
> WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
> WEBKITLIBRARIESDIR is set to: 
> d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
> /cygdrive/c/Program Files/Microsoft Visual Studio 
> 8/Common7/IDE/VCExpress.exe wi
> n\WebKit.vcproj\WebKit.sln /build Release
> Do you have any idea? I installed Visual C++ 2005 Express 
> , Microsoft Visual 
> C++ Express 2005 Service Pack 1 
> and 
> Windows Platform SD 
> K
> 
> Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.

-Adam


ÿþ<___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-10 Thread Kevin McCullough

I don't see the log am I missing something?

 Kevin McCullough
[EMAIL PROTECTED]

On Oct 10, 2007, at 4:43 PM, James tu wrote:


Hi Adam,
I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems  
machine environment variables may not be correct. But don't know  
what exactly cause this?


thanks

Adam Roben <[EMAIL PROTECTED]> wrote:
(CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
> Hi Adam,
> I download cygwin package from open source webkit site and
> reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it
> will build for about 2-3 minutes then exit without any message.
>
> In the cygwin, it only shows
>
> Checking mod-date of WebKitSupportLibrary.zip...
> Current WebKitSupportLibrary is up to date
> Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/ 
WebKitBuild

> WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
> WEBKITLIBRARIESDIR is set to:
> d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
> /cygdrive/c/Program Files/Microsoft Visual Studio
> 8/Common7/IDE/VCExpress.exe wi
> n\WebKit.vcproj\WebKit.sln /build Release
> Do you have any idea? I installed Visual C++ 2005 Express
> , Microsoft Visual
> C++ Express 2005 Service Pack 1
> and
> Windows Platform SD
> K
>
> Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++
Express does not give any output in the console while building, so you
have to search for build errors in the build logs manually. You can  
find

these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened
during your build.

-Adam


ÿþ< ___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-11 Thread James tu
send it again in text format. don't know why I can't send html file as an 
attachment from my yahoo account. Really sorry for this. The following is the 
build log
   
Build Log

  Build started: Project: WebCore, Configuration: Release|Win32
  Command Lines

  Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Creating temporary file 
"d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BAT0160766412.bat"
 with contents
[
@echo off
  set PATH=%SystemDrive%\cygwin\bin;%PATH%
  touch "d:\Profiles\w30339.DS\WebKit\WebKitBuild\tmp.cpp"
  cl /analyze /nologo /c "d:\Profiles\w30339.DS\WebKit\WebKitBuild\tmp.cpp" 
2>&1 | findstr D9040
  if ERRORLEVEL 0 set EnablePREfast="false" else set EnablePREfast="true"
  if ERRORLEVEL 0 set AnalyzeWithLargeStack="" 
AnalyzeWithLargeStack="/analyze:65536"
  bash build-generated-files.sh "d:\Profiles\w30339.DS\WebKit\WebKitBuild" 
"d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win"
   
  if errorlevel 1 goto VCReportError
  goto VCEnd
  :VCReportError
  echo Project : error PRJ0019: A tool returned an error code from "Performing 
Pre-Build Event..."
  exit 1
  :VCEnd
]
Creating command line 
"d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BAT0160766412.bat"
  Output Window

  Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis 
warnings are not available in this edition of the compiler
tmp.cpp
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
Project : error PRJ0019: A tool returned an error code from "Performing 
Pre-Build Event..."
Project : warning PRJ0018 : The following environment variables were not found:
$(AnalyzeWithLargeStack)
  Results

  Build log was saved at 
"file://d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BuildLog.htm"
WebCore - 1 error(s), 1 warning(s)
   
  

Kevin McCullough <[EMAIL PROTECTED]> wrote:
  I don't see the log am I missing something?

�amp;nbsp;Kevin McCullough
  [EMAIL PROTECTED]


On Oct 10, 2007, at 4:43 PM, James tu wrote:

Hi Adam,
  I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems machine 
environment variables may not be correct. But don't know what exactly cause 
this?
   
  thanks

Adam Roben <[EMAIL PROTECTED]> wrote: 
  (CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
> Hi Adam,
> I download cygwin package from open source webkit site and 
> reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it 
> will build for about 2-3 minutes then exit without any message. 
> 
> In the cygwin, it only shows 
> 
> Checking mod-date of WebKitSupportLibrary.zip...
> Current WebKitSupportLibrary is up to date
> Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
> WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
> WEBKITLIBRARIESDIR is set to: 
> d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
> /cygdrive/c/Program Files/Microsoft Visual Studio 
> 8/Common7/IDE/VCExpress.exe wi
> n\WebKit.vcproj\WebKit.sln /build Release
> Do you have any idea? I installed Visual C++ 2005 Express 
> , Microsoft Visual 
> C++ Express 2005 Service Pack 1 
> and 
> Windows Platform SD 
> K
> 
> Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.

-Adam


ÿþ< ___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/web

Re: [webkit-dev] Webkit Building failed on Windows

2007-10-11 Thread James tu
send the build log again
   
  thanks

Kevin McCullough <[EMAIL PROTECTED]> wrote: 
  I don't see the log am I missing something?

�amp;nbsp;Kevin McCullough
  [EMAIL PROTECTED]


On Oct 10, 2007, at 4:43 PM, James tu wrote:

Hi Adam,
  I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems machine 
environment variables may not be correct. But don't know what exactly cause 
this?
   
  thanks

Adam Roben <[EMAIL PROTECTED]> wrote: 
  (CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
> Hi Adam,
> I download cygwin package from open source webkit site and 
> reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it 
> will build for about 2-3 minutes then exit without any message. 
> 
> In the cygwin, it only shows 
> 
> Checking mod-date of WebKitSupportLibrary.zip...
> Current WebKitSupportLibrary is up to date
> Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
> WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
> WEBKITLIBRARIESDIR is set to: 
> d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
> /cygdrive/c/Program Files/Microsoft Visual Studio 
> 8/Common7/IDE/VCExpress.exe wi
> n\WebKit.vcproj\WebKit.sln /build Release
> Do you have any idea? I installed Visual C++ 2005 Express 
> , Microsoft Visual 
> C++ Express 2005 Service Pack 1 
> and 
> Windows Platform SD 
> K
> 
> Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.

-Adam


ÿþ< ___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev



ÿþ<___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-11 Thread Adam Roben

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

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Webkit Building failed on Windows

2007-10-16 Thread Adam Roben

James tu wrote:
I check out the source again and build it successfully. But when I try 
to run WebKit/WebKitTools/Scripts/run-safari, it failed. the following 
is the error message.
Starting Safari with DYLD_FRAMEWORK_PATH set to point to built WebKit 
in /cygdri

ve/d/Profiles/w30339.DS/WebKit/WebKitBuild/bin.
The system cannot find the path specified.
Actually the path 
/cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild/bin exists.

the following is the file in this directory
 
$ ls /cygdrive/d/Profiles/w30339.DS/webKit/WebKitBuild/bin

DumpRenderTree.exe  WebKit.pdbdftables.pdb  testnetscapeplugin
DumpRenderTree.pdb  WebKit.resources  testkjs.exe
WebKit.dll  dftables.exe  testkjs.pdb


I think it's complaining that it can't find Safari.exe. Right now 
run-safari assumes that Safari was installed in %PROGRAMFILES%\Safari 
(the default location), and will fail to work if that's not where 
Safari.exe is. I've just filed 
 to represent this 
deficiency in the run-safari script. To run Safari yourself, you can 
execute the following command:


C:\path\to\Safari.exe 
/frameworkPath:D:\Profiles\w30339.DS\webKit\WebKitBuild\bin


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev