RE: [webkit-dev] Building Webkit

2008-04-01 Thread Khanna Piyush-A21612
Adam/Sijin - Thanks for your inputs...some further progress, but still
some further errors.

Attached is the log file...

 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.
1-- Build started: Project: JavaScriptCoreGenerated, Configuration: 
Release Win32 --
2-- Build started: Project: WTF, Configuration: Debug Win32 --
2Performing Pre-Build Event...
1Performing Makefile project actions
1 xcopy /y/d/e/i ..\..\..\WebKitLibraries\win\tools 
C:\cygwin\home\a21612\WebKit\WebKitLibraries\win\tools
1Cannot perform a cyclic copy
10 File(s) copied
1 set PATH=%PATH%;%SystemDrive%\cygwin\bin
1 touch C:\cygwin\home\a21612\WebKit\WebKitBuild\buildfailed
1 bash build-generated-files.sh C:\cygwin\home\a21612\WebKit\WebKitBuild 
C:\cygwin\home\a21612\WebKit\WebKitLibraries\win
1Can't find c:\Program on PATH.
1NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
1Stop.
1Project : error PRJ0019: A tool returned an error code from Performing 
Makefile project actions
1Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm
1JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
2Compiling...
3-- Build started: Project: JavaScriptCore, Configuration: Debug Win32 
--
3Performing Pre-Build Event...
3Project : error PRJ0002 : Error result 1 returned from 
'C:\WINDOWS\system32\cmd.exe'.
3Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\JavaScriptCore\Debug\BuildLog.htm
3JavaScriptCore - 1 error(s), 0 warning(s)
2CollatorDefault.cpp
4-- Build started: Project: WebCoreGenerated, Configuration: Release Win32 
--
4Performing Makefile project actions
4Project : error PRJ0002 : Error result 1 returned from 
'C:\WINDOWS\system32\cmd.exe'.
4Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm
4WebCoreGenerated - 1 error(s), 0 warning(s)
2c:\cygwin\home\a21612\WebKit\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(28) 
: fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file 
or directory
2CollatorICU.cpp
2c:\cygwin\home\a21612\WebKit\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(28) 
: fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file 
or directory
2FastMalloc.cpp
2..\..\wtf\FastMalloc.cpp(81) : fatal error C1083: Cannot open include file: 
'pthread.h': No such file or directory
2TCSystemAlloc.cpp
5-- Build started: Project: FindSafari, Configuration: Release Win32 --
5Performing Pre-Link Event...
5Linking...
5link: missing operand after `ÿþ/'
5Try `link --help' for more information.
5Project : error PRJ0002 : Error result 1 returned from 
'C:\cygwin\bin\link.exe'.
5Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\FindSafari\Release\BuildLog.htm
5FindSafari - 1 error(s), 0 warning(s)
2c:\cygwin\home\a21612\webkit\javascriptcore\wtf\TCSpinLock.h(40) : fatal 
error C1083: Cannot open include file: 'sched.h': No such file or directory
2UTF8.cpp
2c:\cygwin\home\a21612\WebKit\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(28) 
: fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file 
or directory
2Generating Code...
2Project : warning PRJ0018 : The following environment variables were not 
found:
2$(PRODUCTION)
2Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WTF\Debug\BuildLog.htm
2WTF - 5 error(s), 0 warning(s)
6-- Build started: Project: QTMovieWin, Configuration: Debug Win32 --
6Performing Pre-Build Event...
6Compiling...
6QTMovieWin.cpp
6c:\cygwin\home\a21612\WebKit\WebCore\ForwardingHeaders\wtf/Platform.h(1) : 
fatal error C1083: Cannot open include file: 'JavaScriptCore/Platform.h': No 
such file or directory
6QTMovieWinTimer.cpp
6c:\cygwin\home\a21612\WebKit\WebCore\ForwardingHeaders\wtf/Platform.h(1) : 
fatal error C1083: Cannot open include file: 'JavaScriptCore/Platform.h': No 
such file or directory
6Generating Code...
6Project : warning PRJ0018 : The following environment variables were not 
found:
6$(PRODUCTION)
6Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm
6QTMovieWin - 2 error(s), 0 warning(s)
7-- Build started: Project: WebCore, Configuration: Debug_Cairo Win32 
--
7Performing Pre-Build Event...
7Project : error PRJ0002 : Error result 1 returned from 
'C:\WINDOWS\system32\cmd.exe'.
7Build log was saved at 
file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WebCore\Debug_Cairo\BuildLog.htm
7WebCore - 1 

RE: [webkit-dev] Building Webkit

2008-04-01 Thread Sijin Joseph
You may want to put in some debugging statements in build-generated-files.sh to 
see where it is failing.

From: Khanna Piyush-A21612 [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 8:15 AM
To: Sijin Joseph
Cc: webkit-dev@lists.webkit.org
Subject: RE: [webkit-dev] Building Webkit

Adam/Sijin - Thanks for your inputs...some further progress, but still
some further errors.

Attached is the log file...

 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.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev