← Back to team overview

desktop-packages team mailing list archive

[Bug 1396698] Re: Compiling the webkit package gives missing GL/gl.h

 

Didn't know about

    sudo apt-get build-dep libwebkitgtk-3.0-0

so, you learn every day.

Bug can be closed.

** Changed in: webkit (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to webkit in Ubuntu.
https://bugs.launchpad.net/bugs/1396698

Title:
  Compiling the webkit package gives missing GL/gl.h

Status in “webkit” package in Ubuntu:
  Invalid

Bug description:
  After installing all developer versions of the depending libraries I
  expected the package to compile cleanly after a configure and make.
  however the compile failed with a missing GL/gl.h. I installed mesa-
  common-dev (the most likely candidate) and reran make, which is
  continuing at the moment.

  ============================================================================

  moi@laptop:/usr/src/webkitgtk-2.4.4/Tools/TestWebKitAPI/Tests/WebKitGtk >lsb_release -rd
  Description:	Ubuntu 14.04.1 LTS
  Release:	14.04
  moi@laptop:/usr/src/webkitgtk-2.4.4/Tools/TestWebKitAPI/Tests/WebKitGtk >

  ============================================================================

  moi@laptop:/usr/src/webkitgtk-2.4.4/Tools/TestWebKitAPI/Tests/WebKitGtk >apt-cache policy libwebkitgtk-1.0-common
  libwebkitgtk-1.0-common:
    Installed: 2.4.4-1~ubuntu1
    Candidate: 2.4.4-1~ubuntu1
    Version table:
   *** 2.4.4-1~ubuntu1 0
          500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2.4.0-1ubuntu2 0
          500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  moi@laptop:/usr/src/webkitgtk-2.4.4/Tools/TestWebKitAPI/Tests/WebKitGtk >

  ============================================================================

    CXX      Source/WebCore/platform/gtk/libWebCoreGtk_la-ScrollbarThemeGtk.lo
    CXX      Source/WebCore/platform/gtk/libWebCoreGtk_la-ScrollbarThemeGtk2.lo
    CXX      Source/WebCore/platform/gtk/libWebCoreGtk_la-ScrollbarThemeGtk3.lo
    CXX      Source/WebCore/platform/gtk/libWebCoreGtk_la-WidgetRenderingContext.lo
    CC       Source/WebCore/plugins/gtk/libWebCoreGtk_la-gtk2xtbin.lo
  Source/WebCore/plugins/gtk/gtk2xtbin.c: In function 'xt_event_prepare':
  Source/WebCore/plugins/gtk/gtk2xtbin.c:136:3: warning: 'gdk_threads_enter' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:46) [-Wdeprecated-declarations]
     gdk_threads_enter();
     ^
  Source/WebCore/plugins/gtk/gtk2xtbin.c:138:3: warning: 'gdk_threads_leave' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Wdeprecated-declarations]
     gdk_threads_leave();
     ^
  Source/WebCore/plugins/gtk/gtk2xtbin.c: In function 'xt_event_check':
  Source/WebCore/plugins/gtk/gtk2xtbin.c:146:3: warning: 'gdk_threads_enter' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:46) [-Wdeprecated-declarations]
     gdk_threads_enter();
     ^
  Source/WebCore/plugins/gtk/gtk2xtbin.c:151:5: warning: 'gdk_threads_leave' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Wdeprecated-declarations]
       gdk_threads_leave();
       ^
  Source/WebCore/plugins/gtk/gtk2xtbin.c:155:3: warning: 'gdk_threads_leave' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Wdeprecated-declarations]
     gdk_threads_leave();
     ^
  Source/WebCore/plugins/gtk/gtk2xtbin.c: In function 'xt_event_dispatch':
  Source/WebCore/plugins/gtk/gtk2xtbin.c:169:3: warning: 'gdk_threads_enter' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:46) [-Wdeprecated-declarations]
     gdk_threads_enter();
     ^
  Source/WebCore/plugins/gtk/gtk2xtbin.c:180:3: warning: 'gdk_threads_leave' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Wdeprecated-declarations]
     gdk_threads_leave();
     ^
    CXX      Source/WebCore/plugins/gtk/libWebCoreGtk_la-PluginPackageGtk.lo
    CXX      Source/WebCore/plugins/gtk/libWebCoreGtk_la-PluginViewGtk.lo
    CXX      Source/WebCore/platform/graphics/egl/libWebCoreGtk_la-GLContextEGL.lo
  In file included from Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:35:0:
  ./Source/WebCore/platform/graphics/OpenGLShims.h:23:19: fatal error: GL/gl.h: No such file or directory
   #include <GL/gl.h>
                     ^
  compilation terminated.
  make[1]: *** [Source/WebCore/platform/graphics/egl/libWebCoreGtk_la-GLContextEGL.lo] Error 1
  make[1]: Leaving directory `/usr/src/webkitgtk-2.4.4'
  make: *** [all] Error 2
  moi@laptop:/usr/src/webkitgtk-2.4.4 >

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webkit/+bug/1396698/+subscriptions


References