Bug 145887 - [CMake] [GStreamer] [GTK] Detection of GStreamer libraries not working as expected
Summary: [CMake] [GStreamer] [GTK] Detection of GStreamer libraries not working as exp...
Status: RESOLVED DUPLICATE of bug 145682
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: 2015-06-11 11:15 PDT by Carlos Alberto Lopez Perez
Modified: 2015-06-11 12:37 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2015-06-11 11:15:58 PDT
On a new Debian system, without using the internal jhbuild, after installing the build deps via Tools/gtk/install-dependencies, I get:

$ Tools/Scripts/build-webkit --gtk --release --cmakeargs='-DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_MEDIA_STREAM=OFF'
[....]
-- Found GnuTLS: /usr/lib/i386-linux-gnu/libgnutls.so (found suitable version "3.3.8", minimum required is "3.0.0") 
-- checking for module 'gstreamer-1.0 >= 1.0.3'
--   package 'gstreamer-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-base-1.0 >= 1.0.3'
--   package 'gstreamer-base-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-app-1.0 >= 1.0.3'
--   package 'gstreamer-app-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-audio-1.0 >= 1.0.3'
--   package 'gstreamer-audio-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-fft-1.0 >= 1.0.3'
--   package 'gstreamer-fft-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-gl-1.0>=1.5.0'
--   package 'gstreamer-gl-1.0>=1.5.0' not found
-- checking for module 'gstreamer-mpegts-1.0>=1.4.0'
--   package 'gstreamer-mpegts-1.0>=1.4.0' not found
-- checking for module 'gstreamer-pbutils-1.0 >= 1.0.3'
--   package 'gstreamer-pbutils-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-tag-1.0 >= 1.0.3'
--   package 'gstreamer-tag-1.0 >= 1.0.3' not found
-- checking for module 'gstreamer-video-1.0 >= 1.0.3'
--   package 'gstreamer-video-1.0 >= 1.0.3' not found
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES (Required is at least version "1.0.3") 
[....]
-- Enabled features:
--  ENABLE_ACCELERATED_2D_CANVAS ............ OFF
--  ENABLE_CREDENTIAL_STORAGE                 ON
--  ENABLE_DRAG_SUPPORT ..................... ON
--  ENABLE_GEOLOCATION                        ON
--  ENABLE_GLES2 ............................ OFF
--  ENABLE_GTKDOC                             OFF
--  ENABLE_ICONDATABASE ..................... ON
--  ENABLE_INTROSPECTION                      ON
--  ENABLE_JIT .............................. ON
--  ENABLE_MEMORY_SAMPLER                     ON
--  ENABLE_MINIBROWSER ...................... ON
--  ENABLE_OPENGL                             ON
--  ENABLE_PLUGIN_PROCESS_GTK2 .............. ON
--  ENABLE_SPELLCHECK                         ON
--  ENABLE_TOUCH_EVENTS ..................... ON
--  ENABLE_VIDEO                              ON
--  ENABLE_WAYLAND_TARGET ................... ON
--  ENABLE_WEB_AUDIO                          ON
--  ENABLE_X11_TARGET ....................... ON
--  USE_LIBHYPHEN                             ON
--  USE_LIBNOTIFY ........................... ON
--  USE_SYSTEM_MALLOC                         OFF
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_APP_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_AUDIO_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_BASE_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_FFT_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_PBUTILS_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_TAG_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_VIDEO_LIBRARIES (ADVANCED)
    linked by target "WebCore" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK" in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target "WebCorePlatformGTK2" in directory /home/igalia/clopez/webkit/Source/WebCore

-- Configuring incomplete, errors occurred!
See also "/home/igalia/clopez/webkit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
See also "/home/igalia/clopez/webkit/WebKitBuild/Release/CMakeFiles/CMakeError.log".
Comment 1 Carlos Alberto Lopez Perez 2015-06-11 11:17:55 PDT
The problem gets fixed after running:

$ sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

So, I'm not sure if we need to add that libraries to the script Tools/gtk/install-dependencies or improve the CMake error checking for this libraries.

Opinions?
Comment 2 Michael Catanzaro 2015-06-11 12:37:08 PDT
(In reply to comment #1)
> So, I'm not sure if we need to add that libraries to the script
> Tools/gtk/install-dependencies or improve the CMake error checking for this
> libraries.

Hm, I don't think install-dependencies needs to install anything that's provided by jhbuild.

Fixing the error message is bug #145682

*** This bug has been marked as a duplicate of bug 145682 ***