Bug 130373 - Cannot build Webkit Gtk due to libsoup issue
Summary: Cannot build Webkit Gtk due to libsoup issue
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-17 17:10 PDT by Alon Zakai
Modified: 2014-04-10 16:46 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Zakai 2014-03-17 17:10:55 PDT
I am trying to build WebKit using

http://trac.webkit.org/wiki/BuildingGtk

It looks like it downloads all the dependencies and builds them, steps 1 and 2 on that page complete successfully. But then running

Tools/Scripts/build-webkit --gtk

fails with

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find LibSoup: Found unsuitable version "2.40.0", but required is
  at least "2.40.3" (found /usr/include/libsoup-2.4)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:286 (_FPHSA_FAILURE_MESSAGE)
  Source/cmake/FindLibSoup.cmake:51 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Source/cmake/OptionsGTK.cmake:172 (find_package)
  CMakeLists.txt:139 (include)

Looks like my linux distro has a close-but-not-close-enough version of libsoup, and I guess the dependency-fetching steps didn't pull it in for some reason?
Comment 1 Martin Robinson 2014-04-08 19:10:23 PDT
Did JHBuild fail?
Comment 2 Alon Zakai 2014-04-10 16:46:00 PDT
Not sure what the cause of the error was (JHBuild or otherwise, I don't know much about the build system here I'm afraid), but I pulled the latest now and it builds. So it seems to have been fixed meanwhile.