[webkit-help] Webkit-Cairo build failure

Moumita Banerjee mouban1980 at gmail.com
Wed Aug 10 07:56:05 PDT 2011


Hi,
When I try to build the code using build-webkit --cairo --debug . it failed

show me
"C:\cygwin\home\MphasiS\WebKit\WebKitBuild\Debug_Cairo_CFLite\obj\WebKit\BuildLog.htm"

"Build machine environment variables may not be correct."

plesae help me to resolve the problem.

Thanks,
Moumita

On Wed, Aug 10, 2011 at 10:39 AM, Thomas Brodt <thomas.brodt at porabo.ch>wrote:

> yes, the command "update-webkit" updates the source directories from trunk,
> independent of the target you want to build.
>
> "build-webkit --wincairo" builds the specified version from the updated
> source.
>
> But I don't know if your specified repository is the right one.
>
> You should probably use the command
>
> svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit
>
> as explained on http://www.webkit.org/building/checkout.html
>
> I don't know if you can use update-webkit if you haven't checked out from
> the repository trunk above.
>
> Thomas
>
> Am 10.08.2011 16:22, schrieb Moumita Banerjee:
>
> Hi,
>
> I checkout the souce code from "
> http://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-1.4.2/"
> . I tried to build the code using build-webkit --wincairo --debug but it
> gives me some error. it told me to run the update script. That's why I want
> to run the update script. "update-webkit" is the right command for this?
>
> Please help me.
>
> Thanks,
> Moumita
>
> On Wed, Aug 10, 2011 at 10:17 AM, Thomas Brodt <
> thomas.brodt.lists at porabo.ch> wrote:
>
>> update-webkit doesn't have the --wincairo option, only build-webkit needs
>> the option for the target. Just use update-webkit without options.
>>
>> Thomas
>>
>>
>> Am 10.08.2011 16:13, schrieb Moumita Banerjee:
>>
>> Hi,
>>
>> When I run the update-webkit --wincairo it's show me some error , that
>> "--wincairo" option is not found.
>>
>> Please tell me what is the right option?
>>
>> Please help me to update the source code.
>>
>> Thanks,
>> Moumita
>>
>> On Tue, Aug 9, 2011 at 11:05 PM, Chris Waldron <christy.waldron at gmail.com
>> > wrote:
>>
>>> OK.  I ran the rebase script and that seemed to eliminate the message I
>>> got
>>> in my previous post however when I now run the build script this is what
>>> I
>>> get ...
>>>
>>> $ WebKit/Tools/Scripts/build-webkit --wincairo --release
>>> Checking Last-Modified date of WinCairoRequirements.zip...
>>> Current WinCairoRequirements is up to date
>>> Building results into: /home/chris.waldron/WebKit/WebKitBuild
>>> WEBKITOUTPUTDIR is set to:
>>> C:\cygwin\home\chris.waldron\WebKit\WebKitBuild
>>> WEBKITLIBRARIESDIR is set to:
>>> C:\cygwin\home\chris.waldron\WebKit\\WebKitLibraries\win
>>> /cygdrive/c/Program Files (x86)/Microsoft Visual Studio
>>> 8/Common7/IDE/VCExpress.exe win\WebKit.vcproj\WebKit.sln /build
>>> Release_Cairo_CFLite
>>> Found 0 Visual Studio Express Build Logs:
>>>
>>>
>>>
>>> ===== BUILD FAILED ======
>>>
>>> Please ensure you have run Tools/Scripts/update-webkit to install
>>> dependencies.
>>>
>>> You can view build errors by checking the BuildLog.htm files located at:
>>> /home/chris.waldron/WebKit/WebKitBuild/obj/<project>/<config>.
>>>
>>> **************************************
>>>
>>> My question is why is there NO messages that indicate your place in the
>>> build and why isn't there a --verbose flag on the scripts to at least be
>>> able to debug and track what may be failing.  I have to now search
>>> through
>>> the projects to find some idea of where this script failed.  Only because
>>> I
>>> recalled what occurred during the VS2008 build did I have an idea of
>>> where
>>> to look.
>>>
>>> WTF build with no errors
>>> JavaScriptCore failed with these errors ...
>>> Linking...
>>>   Creating library
>>>
>>> C:\cygwin\home\chris.waldron\WebKit\WebKitBuild\Release_Cairo_CFLite\lib\Jav
>>> aScriptCore.lib and object
>>>
>>> C:\cygwin\home\chris.waldron\WebKit\WebKitBuild\Release_Cairo_CFLite\lib\Jav
>>> aScriptCore.exp
>>> WTF.lib(OSRandomSource.obj) : error LNK2019: unresolved external symbol
>>> __imp__CryptReleaseContext at 8 referenced in function "void __cdecl
>>> WTF::cryptographicallyRandomValuesFromOS(unsigned char *,unsigned int)"
>>> (?cryptographicallyRandomValuesFromOS at WTF@@YAXPAEI at Z)
>>> WTF.lib(OSRandomSource.obj) : error LNK2019: unresolved external symbol
>>> __imp__CryptGenRandom at 12 referenced in function "void __cdecl
>>> WTF::cryptographicallyRandomValuesFromOS(unsigned char *,unsigned int)"
>>> (?cryptographicallyRandomValuesFromOS at WTF@@YAXPAEI at Z)
>>> WTF.lib(OSRandomSource.obj) : error LNK2019: unresolved external symbol
>>> __imp__CryptAcquireContextW at 20 referenced in function "void __cdecl
>>> WTF::cryptographicallyRandomValuesFromOS(unsigned char *,unsigned int)"
>>> (?cryptographicallyRandomValuesFromOS at WTF@@YAXPAEI at Z)
>>>
>>> C:\cygwin\home\chris.waldron\WebKit\WebKitBuild\Release_Cairo_CFLite\bin\Jav
>>> aScriptCore.dll : fatal error LNK1120: 3 unresolved externals
>>>
>>> Any clues?
>>> Thanks,
>>> Chris
>>>
>>>
>>>
>>> _______________________________________________
>>> webkit-help mailing list
>>> webkit-help at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>>
>>
>>
>>
>> _______________________________________________
>> webkit-help mailing listwebkit-help at lists.webkit.orghttp://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>
>>
>>
>> _______________________________________________
>> webkit-help mailing list
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110810/556e196f/attachment-0001.html>


More information about the webkit-help mailing list