Hello all,
Thanks for your help and input!
I did seem to put the webkit outside the cygwin directory. Just like
Piyush mentioned. I suppose this might create some issues with the package
build. Now i'm going to get a new copy from the trunk into
home/name/WebKit under Cygwin. Then I try to build from there.
If this doesn't work, I'l check utilities.
Thanks!
Best Regards
-Miao
On Wed, 9 Apr 2008, Khanna Piyush-A21612 wrote:
Hi Maio,
The best way to check if which utilities the build environment is
picking up is by typing the following at the cygwin before build-webkit:
$ which utility
The idea is that all the required utilities should be taken from cygwin
install dir.
Also, ensure that cygwin is not installed in the Program Files
directory, but in drive:/cygwin
The build environment is unable to account for any white-speces in the
path for any of the utilities...
Hope that helps.
Best Regards,
Piyush.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 7:36 PM
To: Khanna Piyush-A21612
Cc: webkit-dev@lists.webkit.org
Subject: RE: [webkit-dev] Building errors for Windows
Hello Piyush,
Thanks for the reply.
I used the latest Cygwin version (I just installed today) that
WebKit.org provided, so I assume that everything needed for building the
cygwin should be included in the package.
Anyway I checked in Cygwin's setup. I did found those utilities you
mentioned were already installed (perl, python, bison, and make). But
the problem is that I don't know if these utilities needed other
extensions or patches. If they do need, what they are...?
-Miao
Hi Miao,
Some utilities are not installed in cygwin. Therefore, it is picking
up the utilities installed from your windows environment.
Some of these utilities are perl, python, bison, make etc.
Best Regards,
Piyush.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, April 08, 2008 6:13 PM
To: webkit-dev@lists.webkit.org
Subject: [webkit-dev] Building errors for Windows
Hello,
I'm trying to build WebKit for Windows. After many time of trying, I
still couldn't proceed to compile successfully. So instead of
scratching my head doing nothing, I'd like to ask from the
mailing-list for advices.
I tried to build the source in following steps (based on the
instruction from the webkit.org):
1, Cygwin installed.
2, Getting the latest source from the trunk, and then update-webkit.
All is done without errors.
3, All environment setup is done both for Windows environment and VC++
2005 environment.
4, Tried to build using the script build-webkit, it failed to
compile.
Only a few libraries were built under the folder
WebKit\WebKit\WebKitBuild\lib\.
5, Then I tried to build from VC++
C:\Digia\WebKit\WebKit\win\WebKit.vcproj to see what those errors
were.
The log was copied and pasted in below.
Could you please tell me if anything I've done so far is wrong or
haven't done? Thanks.
Best regards,
-Miao
Log Begins___
1-- Build started: Project: JavaScriptCoreGenerated,
Configuration:
Release Win32 --
1Performing Makefile project actions
1 xcopy /y/d/e/i ..\..\..\WebKitLibraries\win\tools
C:\Digia\WebKit\WebKitLibraries\win\tools
1Cannot perform a cyclic copy
10 File(s) copied
1 set PATH=%PATH%;%SystemDrive%\cygwin\bin
1 touch C:\Digia\WebKit\WebKit\WebKitBuild\buildfailed
1 bash build-generated-files.sh C:\Digia\WebKit\WebKit\WebKitBuild
C:\Digia\WebKit\WebKitLibraries\win
1Can't open perl script c:\Program: No such file or directory NMAKE
:
1fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
1Stop.
1Project : error PRJ0019: A tool returned an error code from
1Performing
Makefile project actions
1Build log was saved at
file://C:\Digia\WebKit\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated
\R
elease\BuildLog.htm
1JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
2-- Build started: Project: JavaScriptCore, Configuration:
2Release
Win32 --
2Performing Pre-Build Event...
2Project : error PRJ0002 : Error result 1 returned from
'C:\WINDOWS\system32\cmd.exe'.
2Build log was saved at
file://C:\Digia\WebKit\WebKit\WebKitBuild\obj\JavaScriptCore\Release\
Bu
ildLog.htm
2JavaScriptCore - 1 error(s), 0 warning(s)
3-- Build started: Project: WebCoreGenerated, Configuration:
3Release
Win32 --
3Performing Makefile project actions
3Project : error PRJ0002 : Error result 1 returned from
'C:\WINDOWS\system32\cmd.exe'.
3Build log was saved at
file://C:\Digia\WebKit\WebKit\WebKitBuild\obj\WebCoreGenerated\Releas
e\
BuildLog.htm
3WebCoreGenerated - 1 error(s), 0 warning(s)
4-- Build started: Project: WebCore, Configuration: Release Win32
4-- Performing Pre-Build Event...
4Project : error PRJ0002 : Error result 1 returned from
'C:\WINDOWS\system32\cmd.exe'.
4Build log was saved at