Bug 145887
| Summary: | [CMake] [GStreamer] [GTK] Detection of GStreamer libraries not working as expected | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | cgarcia, mcatanzaro, pnormand |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Alberto Lopez Perez
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".
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
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?
Michael Catanzaro
(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 ***