Discussion:
[webkit-help] Building WebKit
Plamen Dimitrov
2016-12-09 11:10:21 UTC
Permalink
Hello,


I am trying to build webkit by using this paper:
https://webkit.org/webkit-on-windows/#installing-developer-tools

I got to this part: perl build-webkit

But the command fails:

========

WebKitSupportLibrary us up-to-date
Not searching for unused variables given on the command line.
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG
_INCLUDE_DIR) (found suitable version "2.0.0", minimum required is "1.9")
CMake Warning (dev) at Source/cmake/OptionsCommon.cmake:176 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
Source/cmake/WebKitCommon.cmake:46 (include)
CMakeLists.txt:137 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at Source/cmake/FindICU.cmake:106 (message):
Could not find ICU
Call Stack (most recent call first):
Source/cmake/OptionsWin.cmake:188 (find_package)
Source/cmake/OptionsAppleWin.cmake:1 (include)
Source/cmake/WebKitCommon.cmake:47 (include)
CMakeLists.txt:137 (include)


-- Configuring incomplete, errors occurred!
See also
"F:/WebKit_Repo/WebKit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
See also
"F:/WebKit_Repo/WebKit/WebKitBuild/Release/CMakeFiles/CMakeError.log".
Run "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcvarsall.bat"
before build-webkit when using ninja at build-webkit line 254.
===========

CMakeOutput.log and CMakeError.log are empty.
I installed ruby 2.0.0 and DevKit from here:
http://rubyinstaller.org/downloads/

My OS is Windows 10.

1) What do I have to do run "build-webkit" successfully?
2) I have second question which is out of topic. Can I still build the
WinCairo port? I saw the --efl and --gtk flags but I’d rather use WinCairo
if it’s still available.
Konstantin Tokarev
2016-12-09 14:42:19 UTC
Permalink
Post by Plamen Dimitrov
Hello,
I am trying to build webkit by using this paper: https://webkit.org/webkit-on-windows/#installing-developer-tools
I got to this part: perl build-webkit
========
WebKitSupportLibrary us up-to-date
Not searching for unused variables given on the command line.
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.0.0", minimum required is "1.9")
 Policy CMP0054 is not set: Only interpret if() arguments as variables or
 keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
 details.  Use the cmake_policy command to set the policy and suppress this
 warning.
 Quoted variables like "MSVC" will no longer be dereferenced when the policy
 is set to NEW.  Since the policy is not set the OLD behavior will be used.
 Source/cmake/WebKitCommon.cmake:46 (include)
 CMakeLists.txt:137 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
 Could not find ICU
 Source/cmake/OptionsWin.cmake:188 (find_package)
 Source/cmake/OptionsAppleWin.cmake:1 (include)
 Source/cmake/WebKitCommon.cmake:47 (include)
 CMakeLists.txt:137 (include)
-- Configuring incomplete, errors occurred!
See also "F:/WebKit_Repo/WebKit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
See also "F:/WebKit_Repo/WebKit/WebKitBuild/Release/CMakeFiles/CMakeError.log".
Run "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcvarsall.bat" before build-webkit when using ninja at build-webkit line 254.
===========
CMakeOutput.log and CMakeError.log are empty.
I installed ruby 2.0.0 and DevKit from here: http://rubyinstaller.org/downloads/
My OS is Windows 10.
1) What do I have to do run "build-webkit" successfully?
2) I have second question which is out of topic. Can I still build the WinCairo port? I saw the --efl and --gtk flags but I’d rather use WinCairo if it’s still available.
Have you run Tools/Scripts/update-webkit-wincairo-libs?
Post by Plamen Dimitrov
,
_______________________________________________
webkit-help mailing list
https://lists.webkit.org/mailman/listinfo/webkit-help
--
Regards,
Konstantin
Brent Fulgham
2016-12-09 19:52:40 UTC
Permalink
Hi Plamen,
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.0.0", minimum required is "1.9”)
[ 
 ]
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not find ICU
These two errors indicate that:

(1) You do not have Ruby installed:

See ‘Step 4’ on <https://webkit.org/webkit-on-windows/#installing-developer-tools>.

(2) You do not have a copy of ICU.

As Konstantin pointed out, running “update-webkit —wincairo” should do that.

As for building, the “build-webkit —wincairo” target should work. Current status is a clean build:

https://build.webkit.org/builders/WinCairo%2064-Bit%20Release

Thanks,

-Brent
Konstantin Tokarev
2016-12-09 19:55:11 UTC
Permalink
Post by Brent Fulgham
Hi Plamen,
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.0.0", minimum required is "1.9”)
[ … ]
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
 Could not find ICU
See ‘Step 4’ on <https://webkit.org/webkit-on-windows/#installing-developer-tools>.
Actually, this error message does not mean that Ruby is missing, it is emitted in case Ruby headers or libraries were not found. If you have only interpreter, you will get this message during cmake run and it will not cause any harm.
Post by Brent Fulgham
(2) You do not have a copy of ICU.
As Konstantin pointed out, running “update-webkit —wincairo” should do that.
https://build.webkit.org/builders/WinCairo%2064-Bit%20Release
Thanks,
-Brent
,
_______________________________________________
webkit-help mailing list
https://lists.webkit.org/mailman/listinfo/webkit-help
--
Regards,
Konstantin
Plamen Dimitrov
2016-12-12 08:28:26 UTC
Permalink
Hi all, 1) I've installed Ruby 2.0.0-p648 and DevKit-mingw64 from here:
http://rubyinstaller.org/downloads/ 2) I've run "update-webkit";
"update-webkit --wincairo"; "update-webkit-wincairo-libs" 3) I've run
"build-webkit --wincairo --release" And The error has changed with: "C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(1469):
error C2893: Failed to specialize function template 'unknown-type
std::invoke(_Callable &&,_Types &&...)'" Note: I've installed 2, 3, 4, 5,
6, 7, 8, 9,10 and 13 from this list:
https://webkit.org/webkit-on-windows/#installing-developer-tools Thanks,
Plamen.
Post by Plamen Dimitrov
Post by Brent Fulgham
Hi Plamen,
Post by Plamen Dimitrov
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY
RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.0.0", minimum required
is "1.9”)
Post by Brent Fulgham
[ 
 ]
Post by Plamen Dimitrov
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not find ICU
See ‘Step 4’ on <https://webkit.org/webkit-on-
windows/#installing-developer-tools>.
Actually, this error message does not mean that Ruby is missing, it is
emitted in case Ruby headers or libraries were not found. If you have only
interpreter, you will get this message during cmake run and it will not
cause any harm.
Post by Brent Fulgham
(2) You do not have a copy of ICU.
As Konstantin pointed out, running “update-webkit —wincairo” should do
that.
Post by Brent Fulgham
As for building, the “build-webkit —wincairo” target should work.
https://build.webkit.org/builders/WinCairo%2064-Bit%20Release
Thanks,
-Brent
,
_______________________________________________
webkit-help mailing list
https://lists.webkit.org/mailman/listinfo/webkit-help
--
Regards,
Konstantin
Loading...