[webkit-help] my problem with building webkit
柳正来
lzl124631x at 163.com
Mon Sep 24 05:09:31 PDT 2012
Hi.
I followed http://blog.ashodnakashian.com/2012/01/building-webkit-on-windows-7-with-vs2010/ to try to build webkit using vs2010, but i met several problems.
1.
in that blog ashod said that i should run build-webkit --wincairo, which will try to reach dl.dropbox to fetch the last-modified date of wincairorequirements.zip. i cannot reach that website, but i have wincairorequirements.zip on my disk already.
what does the --wincairo stand for ? can i just run build-webkit instead?
i've tried run build-webkit only, but i got these:
2.
Build started 2012/9/24 18:28:14.
InitializeBuildStatus:
Creating "C:\WebKit-r128959\WebKitBuild\Debug\obj\MiniBrowserLauncher\MiniBrow
serLauncher.unsuccessfulbuild" because "AlwaysCreate" was specified.
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.
Targets(153,5): error MSB6001: Invalid command line switch for "CL.exe". Item ha
s already been added. Key in dictionary: 'tmp' Key being added: 'TMP'
Build FAILED.
in that blog someone mentioned the same question.
Priyanka said " I found that TMP env var is present in WINDOWS and is also created by cygwin causing this error of duplicate vars. I commented the code to set new TMP var in cygwin installation folder – FILENAME : “c:/cygwin/etc/profile” search for TMP and comment the lines where it is reassigned."
i commented line 44 to 50:
ORIGINAL_TMP=$TMP
ORIGINAL_TEMP=$TEMP
unset TMP TEMP
tmp=$(cygpath -w “$ORIGINAL_TMP” 2> /dev/null)
temp=$(cygpath -w “$ORIGINAL_TEMP” 2> /dev/null)
TMP=”/tmp”
TEMP=”/tmp”
but it seems doesn’t work.
Alexei Bykov said "The solution of my problem is here: http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/9d8b9d4a-c453-4f17-8dc6-838681af90f4 I just killed all instances of MSBuild.exe before start to build Webkit."
but before i build-webkit, there is no msbuild.exe running...
HOW SHOULD I SOLVE THIS PROBLEM?
3.
------ Build started: Project: MiniBrowser, Configuration: Debug Win32 ------
Build started 2012/9/24 18:28:13.
InitializeBuildStatus:
Creating "C:\WebKit-r128959\WebKitBuild\Debug\obj\MiniBrowser\MiniBrowser.unsu
ccessfulbuild" because "AlwaysCreate" was specified.
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: The command "REM Do not edit from the Visual Studio IDE! Customiz
e via a MiniBrowserPreBuild.cmd file.
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: if not exist "C:\WebKit-r128959\Tools\MiniBrowser\MiniBrowserPreB
uild.cmd" exit /b
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073:
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: set CONFIGURATIONBUILDDIR=C:\WebKit-r128959\WebKitBuild\Debug
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: set CONFIGURATIONNAME=Debug
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: set INPUTDIR=C:\WebKit-r128959\Tools\MiniBrowser\
can anyone fix this problem?
Best Regards and Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120924/a8540860/attachment.html>
More information about the webkit-help
mailing list