Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-18 Thread Aditya Lodha
What can be the solution for this?
I haven't enabled anything explicitly while compilation. I just used ./make.

Thanks.
- Original Message -
From: Víctor M. Jáquez L. vjaq...@igalia.com
To: webkit-gtk@lists.webkit.org
Sent: Wed, 18 Dec 2013 13:51:44 +0530 (IST)
Subject: Re: [webkit-gtk] error in webkit   gtk 2.2.3   stable  version 
compilation

--

WARNING: Your email security system has determined the message below may be a 
potential threat.

It may pose as a legitimate company, tricking victims into revealing personal 
information.

If you do not know the sender or cannot verify the integrity of the message, 
please do not respond or click on links in the message. Depending on the 
security settings, clickable URLs may have been modified to provide additional 
security.

--
 Suspicious threat disclaimer ends here 

On Wed, Dec 18, 2013 at 12:44:12PM +0530, Aditya Lodha wrote:
 I applied the patch from the link in previous mail, but I am still facing
 the same error as,

This is not the same error. It is a different one:

You enabled wayland support but your gtk doesn't have it.

vmjl


 
 
 
 Source/WebCore/platform/graphics/GLContext.cpp: In static member function 
 'static WTF::PassOwnPtrWebCore::GLContext 
 WebCore::GLContext::createContextForWindow(GLNativeWindowType, 
 WebCore::GLContext*)':
 Source/WebCore/platform/graphics/GLContext.cpp:155:39: error: 
 'GDK_IS_WAYLAND_DISPLAY' was not declared in this scope
 make[1]: *** 
 [Source/WebCore/platform/graphics/libPlatformGtk_la-GLContext.lo] Error 1
 make[1]: *** Waiting for unfinished jobs
 make[1]: Leaving directory `/home/hbbtv/Downloads/webkitgtk-2.2.3'
 make: *** [all] Error 2
 
 
 
 Please help to solve this error.
 
  
 - Original Message -
 From: Gustavo Noronha Silva 
 To: webkit-gtk@lists.webkit.org
 Sent: Tue, 17 Dec 2013 18:05:17 +0530 (IST)
 Subject: Re: [webkit-gtk] error in webkit gtk 2.2.3   stable  version 
 compilation
 
 Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:
  
   You're using a gles 2.0 library. With this patch (which I need to 
   upstream) it
   is solved:
  
   https://secure-web.cisco.com/auth=11R3MJ1askWN4FOZmsXw0kOitl-0-Hurl=https%3A%2F%2Fgist.github.com%2Fceyusa%2F8002563
 
  Actually in that patch you can even get rid of the PLATFORM(QT) since
  it's no longer in the tree.
 
 This fixes this problem for future tarballs:
 
   
 https://secure-web.cisco.com/auth=11KVKiT3fAMv2Gy4DKQ-wJ9W2XdijAurl=https%3A%2F%2Fbugs.webkit.org%2Fshow_bug.cgi%3Fid%3D125782
 
 Cheers,
 
 --
 Gustavo Noronha Silva 
 GNOME Project
 
 ___
 webkit-gtk mailing list
 webkit-gtk@lists.webkit.org
 https://secure-web.cisco.com/auth=11G8w_dzRIOv8UbQLkzXA9CaU1DcARurl=https%3A%2F%2Flists.webkit.org%2Fmailman%2Flistinfo%2Fwebkit-gtk
 
 --
 Regards,
 Aditya Lodha
 ILP EIS Trainee
 Trivandrum, India
 +91-9673408662
 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain 
 confidential or privileged information. If you are 
 not the intended recipient, any dissemination, use, 
 review, distribution, printing or copying of the 
 information contained in this e-mail message 
 and/or attachments to it are strictly prohibited. If 
 you have received this communication in error, 
 please notify us by reply e-mail or telephone and 
 immediately and permanently delete the message 
 and any attachments. Thank you
 
 

 ___
 webkit-gtk mailing list
 webkit-gtk@lists.webkit.org
 https://secure-web.cisco.com/auth=11G8w_dzRIOv8UbQLkzXA9CaU1DcARurl=https%3A%2F%2Flists.webkit.org%2Fmailman%2Flistinfo%2Fwebkit-gtk

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://secure-web.cisco.com/auth=11G8w_dzRIOv8UbQLkzXA9CaU1DcARurl=https%3A%2F%2Flists.webkit.org%2Fmailman%2Flistinfo%2Fwebkit-gtk

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-18 Thread Žan Doberšek
Setting the ACLOCAL_FLAGS environment variable to include the path where
the glib-2.0.m4 file is installed (i.e. file that defines the
AM_PATH_GLIB_2_0 macro) should help.

Cheers,
Zan


On Tue, Dec 17, 2013 at 4:57 PM, Niranjan Rao nhr...@gmail.com wrote:

 Some more experimentation revealed that if I don't use --prefix for
 configure then everything works fine or at least it start compiling code
 and going ahead. If I use --prefix a path to directory then make fails
 with all these errors.

 In both cases code base is fresh - just exploded from tar ball.

 Is this a bug or I am doing something wrong?

 Regards,

 Niranjan



 On 12/17/2013 03:59 PM, Niranjan Rao wrote:

 I am also facing problems building 2.2.3 build on Ubuntu 12.04. Its
 possible that my error is totally unrelated to this one.

 I have compiled/installed following libraries and are setup using
 PKG_CONFIG_PATH environment variable.

 atk-2.11.4  at-spi2-atk-2.11.3  at-spi2-core-2.11.3  glib-2.36.1
 glib-networking-2.36.1  gst-plugins-base-1.0.3  gstreamer-1.0.3 gtk+-3.6.4
  harfbuzz-0.9.16  libsoup-2.42.2

 Configure is run as follows, $FP_BUILD_ROOT is set to my install
 directory.

 ./configure --prefix=$FP_BUILD_ROOT --enable-gtk-doc=no
 --enable-gtk-doc-html=no  --enable-gtk-doc-pdf=no --enable-webkit1=no
 --enable-credential-storage=no --enable-debug-symbols=full

 Configure does not complain about anything and terminates normally.

 However when running make command I get following error

 CDPATH=${ZSH_VERSION+.}:  cd .  aclocal-1.14 -I Source/autotools
 Source/autotools/FindDependencies.m4:95: warning: macro
 'AM_PATH_GLIB_2_0' not found in library
  cd .  automake-1.14 --foreign
 CDPATH=${ZSH_VERSION+.}:  cd .  autoconf
 configure:16705: error: possibly undefined macro: AM_PATH_GLIB_2_0
   If this token and others are legitimate, please use
 m4_pattern_allow.
   See the Autoconf documentation.
 configure:17032: error: possibly undefined macro: AC_MSG_ERROR
 configure:17034: error: possibly undefined macro: AC_MSG_WARN
 make: *** [configure] Error 1

 Regards,

 Niranjan
 On 12/17/2013 04:35 AM, Gustavo Noronha Silva wrote:

 Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:

 You're using a gles 2.0 library. With this patch (which I need to
 upstream) it
 is solved:

 https://gist.github.com/ceyusa/8002563

 Actually in that patch you can even get rid of the PLATFORM(QT) since
 it's no longer in the tree.

 This fixes this problem for future tarballs:

 https://bugs.webkit.org/show_bug.cgi?id=125782

 Cheers,



 ___
 webkit-gtk mailing list
 webkit-gtk@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-gtk

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-18 Thread Niranjan Rao

I might be wrong, but this does not explain why following command works

configure --enable-credential-storage=no

and this one does not

configure --prefix $HOME/build --enable-credential-storage=no

Regards,

Niranjan

On 12/18/2013 06:31 AM, Žan Doberšek wrote:
Setting the ACLOCAL_FLAGS environment variable to include the path 
where the glib-2.0.m4 file is installed (i.e. file that defines the 
AM_PATH_GLIB_2_0 macro) should help.


Cheers,
Zan


On Tue, Dec 17, 2013 at 4:57 PM, Niranjan Rao nhr...@gmail.com 
mailto:nhr...@gmail.com wrote:


Some more experimentation revealed that if I don't use --prefix
for configure then everything works fine or at least it start
compiling code and going ahead. If I use --prefix a path to
directory then make fails with all these errors.

In both cases code base is fresh - just exploded from tar ball.

Is this a bug or I am doing something wrong?

Regards,

Niranjan



On 12/17/2013 03:59 PM, Niranjan Rao wrote:

I am also facing problems building 2.2.3 build on Ubuntu
12.04. Its possible that my error is totally unrelated to this
one.

I have compiled/installed following libraries and are setup
using PKG_CONFIG_PATH environment variable.

atk-2.11.4  at-spi2-atk-2.11.3  at-spi2-core-2.11.3
 glib-2.36.1 glib-networking-2.36.1  gst-plugins-base-1.0.3
 gstreamer-1.0.3 gtk+-3.6.4  harfbuzz-0.9.16  libsoup-2.42.2

Configure is run as follows, $FP_BUILD_ROOT is set to my
install directory.

./configure --prefix=$FP_BUILD_ROOT --enable-gtk-doc=no
--enable-gtk-doc-html=no  --enable-gtk-doc-pdf=no
--enable-webkit1=no --enable-credential-storage=no
--enable-debug-symbols=full

Configure does not complain about anything and terminates
normally.

However when running make command I get following error

CDPATH=${ZSH_VERSION+.}:  cd .  aclocal-1.14 -I
Source/autotools
Source/autotools/FindDependencies.m4:95: warning: macro
'AM_PATH_GLIB_2_0' not found in library
 cd .  automake-1.14 --foreign
CDPATH=${ZSH_VERSION+.}:  cd .  autoconf
configure:16705: error: possibly undefined macro: AM_PATH_GLIB_2_0
  If this token and others are legitimate, please use
m4_pattern_allow.
  See the Autoconf documentation.
configure:17032: error: possibly undefined macro: AC_MSG_ERROR
configure:17034: error: possibly undefined macro: AC_MSG_WARN
make: *** [configure] Error 1

Regards,

Niranjan
On 12/17/2013 04:35 AM, Gustavo Noronha Silva wrote:

Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin
escreveu:

You're using a gles 2.0 library. With this patch
(which I need to upstream) it
is solved:

https://gist.github.com/ceyusa/8002563

Actually in that patch you can even get rid of the
PLATFORM(QT) since
it's no longer in the tree.

This fixes this problem for future tarballs:

https://bugs.webkit.org/show_bug.cgi?id=125782

Cheers,



___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org mailto:webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk




___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-18 Thread Žan Doberšek
In the first case you're using the default prefix, in which the glib
dependency is also likely installed. This doesn't present any problems when
the AM_PATH_GLIB_2_0 macro is looked up.

In the second one you're using a non-default prefix in which, again likely,
no glib installation is present, so the ACLOCAL_FLAGS env should be used to
include the necessary macros that are installed inside a different prefix.

Setting ACLOCAL_FLAGS env to something like '-I /usr/share/aclocal' (or
whatever  */share/aclocal directory under the prefix under which glib is
installed) should work.

Cheers,
Zan


On Wed, Dec 18, 2013 at 7:17 PM, Niranjan Rao nhr...@gmail.com wrote:

  I might be wrong, but this does not explain why following command works

 configure --enable-credential-storage=no

 and this one does not

 configure --prefix $HOME/build --enable-credential-storage=no

 Regards,

 Niranjan


 On 12/18/2013 06:31 AM, Žan Doberšek wrote:

  Setting the ACLOCAL_FLAGS environment variable to include the path where
 the glib-2.0.m4 file is installed (i.e. file that defines the
 AM_PATH_GLIB_2_0 macro) should help.

  Cheers,
 Zan


 On Tue, Dec 17, 2013 at 4:57 PM, Niranjan Rao nhr...@gmail.com wrote:

 Some more experimentation revealed that if I don't use --prefix for
 configure then everything works fine or at least it start compiling code
 and going ahead. If I use --prefix a path to directory then make fails
 with all these errors.

 In both cases code base is fresh - just exploded from tar ball.

 Is this a bug or I am doing something wrong?

 Regards,

 Niranjan



 On 12/17/2013 03:59 PM, Niranjan Rao wrote:

 I am also facing problems building 2.2.3 build on Ubuntu 12.04. Its
 possible that my error is totally unrelated to this one.

 I have compiled/installed following libraries and are setup using
 PKG_CONFIG_PATH environment variable.

 atk-2.11.4  at-spi2-atk-2.11.3  at-spi2-core-2.11.3  glib-2.36.1
 glib-networking-2.36.1  gst-plugins-base-1.0.3  gstreamer-1.0.3 gtk+-3.6.4
  harfbuzz-0.9.16  libsoup-2.42.2

 Configure is run as follows, $FP_BUILD_ROOT is set to my install
 directory.

 ./configure --prefix=$FP_BUILD_ROOT --enable-gtk-doc=no
 --enable-gtk-doc-html=no  --enable-gtk-doc-pdf=no --enable-webkit1=no
 --enable-credential-storage=no --enable-debug-symbols=full

 Configure does not complain about anything and terminates normally.

 However when running make command I get following error

 CDPATH=${ZSH_VERSION+.}:  cd .  aclocal-1.14 -I Source/autotools
 Source/autotools/FindDependencies.m4:95: warning: macro
 'AM_PATH_GLIB_2_0' not found in library
  cd .  automake-1.14 --foreign
 CDPATH=${ZSH_VERSION+.}:  cd .  autoconf
 configure:16705: error: possibly undefined macro: AM_PATH_GLIB_2_0
   If this token and others are legitimate, please use
 m4_pattern_allow.
   See the Autoconf documentation.
 configure:17032: error: possibly undefined macro: AC_MSG_ERROR
 configure:17034: error: possibly undefined macro: AC_MSG_WARN
 make: *** [configure] Error 1

 Regards,

 Niranjan
 On 12/17/2013 04:35 AM, Gustavo Noronha Silva wrote:

 Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:

  You're using a gles 2.0 library. With this patch (which I need to
 upstream) it
 is solved:

 https://gist.github.com/ceyusa/8002563

 Actually in that patch you can even get rid of the PLATFORM(QT) since
 it's no longer in the tree.

 This fixes this problem for future tarballs:

 https://bugs.webkit.org/show_bug.cgi?id=125782

 Cheers,



 ___
 webkit-gtk mailing list
 webkit-gtk@lists.webkit.org
 https://lists.webkit.org/mailman/listinfo/webkit-gtk




___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-18 Thread Aditya Lodha
I am running ./configure as,

./configure --enable-accelerated-compositing=no

I don't want to use any accelerated composting and/or wayland support. 

After running   ./configure --enable-accelerated-compositing=no,
 
I am facing an error with webkit gtk 2.2.3 stable version compilation as,

Source/WebCore/platform/graphics/GLContext.cpp: In static member function 
'static WTF::PassOwnPtrWebCore::GLContext 
WebCore::GLContext::createContextForWindow(GLNativeWindowType, 
WebCore::GLContext*)':
Source/WebCore/platform/graphics/GLContext.cpp:155:39: error: 
'GDK_IS_WAYLAND_DISPLAY' was not declared in this scope
make[1]: *** [Source/WebCore/platform/graphics/libPlatformGtk_la-GLContext.lo] 
Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: Leaving directory `/home/hbbtv/Downloads/webkitgtk-2.2.3'
make: *** [all] Error 2 


Please inform if any solution / patch is available for this error.
Regards.





 
- Original Message -
From: Aditya Lodha adity...@tcsin.com
To: webkit-gtk@lists.webkit.org
Sent: Thu, 19 Dec 2013 10:36:36 +0530 (IST)
Subject: error in webkit gtk 2.2.3 stable version compilation

Hello,

I am facing an error while webkit gtk 2.2.3 stable version compilation as,

Source/WebCore/platform/graphics/GLContext.cpp: In static member function 
'static WTF::PassOwnPtrWebCore::GLContext 
WebCore::GLContext::createContextForWindow(GLNativeWindowType, 
WebCore::GLContext*)':
Source/WebCore/platform/graphics/GLContext.cpp:155:39: error: 
'GDK_IS_WAYLAND_DISPLAY' was not declared in this scope
make[1]: *** [Source/WebCore/platform/graphics/libPlatformGtk_la-GLContext.lo] 
Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: Leaving directory `/home/hbbtv/Downloads/webkitgtk-2.2.3'
make: *** [all] Error 2 


Please inform if any solution / patch is available for this error.
Regards.
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Sergio Villar Senin
On 17/12/13 10:01, Aditya Lodha wrote:
 
 
 In file included from
 Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:52:0:
 ./Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:117:5:
 error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG' does not name a type
 ./Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:118:5:
 error: 'PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG' does not name a type
 make[1]: ***
 [Source/WebCore/platform/graphics/cairo/libPlatform_la-GraphicsContext3DCairo.lo]
 Error 1
 make[1]: *** Waiting for unfinished jobs
 make: *** [all] Error 2

Which OS/architecture are you using to build webkit?

BR
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Víctor M . Jáquez L .
On Tue, Dec 17, 2013 at 02:31:15PM +0530, Aditya Lodha wrote:
 Hello,
 
 I downloaded tarball for webkit gtk 2.2.3 from webkitgtk+ website 
 (http://webkitgtk.org/2013/12/04/webkitgtk2.2.3-released.html).
 
 After running ./configure command, I got message like,
 
 
  
 
 
 WebKit was configured with the following options:
 
 
 Build configuration:
  Enable debugging (slow)  : no
  Compile with debug symbols (slow): no
  Enable GCC build optimization: yes
  Code coverage support: no
  Optimized memory allocator   : yes
  Accelerated rendering backend: OpenGL (gles2, 
 egl)
 
 
 Features:
 ===
  WebKit1 support  : yes
  WebKit2 support  : yes
  Accelerated Compositing  : yes
  Accelerated 2D canvas: no
  Battery API support  : no
  Gamepad support  : no
  Geolocation support  : yes
  HTML5 video element support  : yes
  JIT compilation  : auto
  Opcode stats : no
  SVG fonts support: yes
  SVG support  : yes
  Spellcheck support   : no
  Credential storage support   : yes
  Web Audio support: no
  WebGL: yes
 
 
 
 
 GTK+ configuration:
  GTK+ version : 3.0
  GDK targets  : x11
  Introspection support: no
  Generate documentation   : no
 
 
  
 After this, I tried ./make from terminal and got an error message as,
 
  
 
 
 In file included from 
 Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:52:0:
 ./Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:117:5: 
 error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG' does not name a type
 ./Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:118:5: 
 error: 'PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG' does not name a type
 make[1]: *** 
 [Source/WebCore/platform/graphics/cairo/libPlatform_la-GraphicsContext3DCairo.lo]
  Error 1
 make[1]: *** Waiting for unfinished jobs
 make: *** [all] Error 2


You're using a gles 2.0 library. With this patch (which I need to upstream) it
is solved:

https://gist.github.com/ceyusa/8002563

vmjl
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Sergio Villar Senin
On 17/12/13 10:55, Víctor M. Jáquez L. wrote:
 On Tue, Dec 17, 2013 at 02:31:15PM +0530, Aditya Lodha wrote:

 In file included from 
 Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:52:0:
 ./Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:117:5: 
 error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG' does not name a type
 ./Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:118:5: 
 error: 'PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG' does not name a type
 make[1]: *** 
 [Source/WebCore/platform/graphics/cairo/libPlatform_la-GraphicsContext3DCairo.lo]
  Error 1
 make[1]: *** Waiting for unfinished jobs
 make: *** [all] Error 2
 
 
 You're using a gles 2.0 library. With this patch (which I need to upstream) it
 is solved:
 
 https://gist.github.com/ceyusa/8002563

Actually in that patch you can even get rid of the PLATFORM(QT) since
it's no longer in the tree.

BR

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Gustavo Noronha Silva
Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:
  
  You're using a gles 2.0 library. With this patch (which I need to upstream) 
  it
  is solved:
  
  https://gist.github.com/ceyusa/8002563
 
 Actually in that patch you can even get rid of the PLATFORM(QT) since
 it's no longer in the tree.

This fixes this problem for future tarballs:

https://bugs.webkit.org/show_bug.cgi?id=125782

Cheers,

-- 
Gustavo Noronha Silva g...@gnome.org
GNOME Project

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Niranjan Rao
I am also facing problems building 2.2.3 build on Ubuntu 12.04. Its 
possible that my error is totally unrelated to this one.


I have compiled/installed following libraries and are setup using 
PKG_CONFIG_PATH environment variable.


atk-2.11.4  at-spi2-atk-2.11.3  at-spi2-core-2.11.3  glib-2.36.1 
glib-networking-2.36.1  gst-plugins-base-1.0.3  gstreamer-1.0.3 
gtk+-3.6.4  harfbuzz-0.9.16  libsoup-2.42.2


Configure is run as follows, $FP_BUILD_ROOT is set to my install directory.

./configure --prefix=$FP_BUILD_ROOT --enable-gtk-doc=no 
--enable-gtk-doc-html=no  --enable-gtk-doc-pdf=no --enable-webkit1=no 
--enable-credential-storage=no --enable-debug-symbols=full


Configure does not complain about anything and terminates normally.

However when running make command I get following error

CDPATH=${ZSH_VERSION+.}:  cd .  aclocal-1.14 -I Source/autotools
Source/autotools/FindDependencies.m4:95: warning: macro 
'AM_PATH_GLIB_2_0' not found in library

 cd .  automake-1.14 --foreign
CDPATH=${ZSH_VERSION+.}:  cd .  autoconf
configure:16705: error: possibly undefined macro: AM_PATH_GLIB_2_0
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure:17032: error: possibly undefined macro: AC_MSG_ERROR
configure:17034: error: possibly undefined macro: AC_MSG_WARN
make: *** [configure] Error 1

Regards,

Niranjan
On 12/17/2013 04:35 AM, Gustavo Noronha Silva wrote:

Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:

You're using a gles 2.0 library. With this patch (which I need to upstream) it
is solved:

https://gist.github.com/ceyusa/8002563

Actually in that patch you can even get rid of the PLATFORM(QT) since
it's no longer in the tree.

This fixes this problem for future tarballs:

https://bugs.webkit.org/show_bug.cgi?id=125782

Cheers,



___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Niranjan Rao
Some more experimentation revealed that if I don't use --prefix for 
configure then everything works fine or at least it start compiling code 
and going ahead. If I use --prefix a path to directory then make fails 
with all these errors.


In both cases code base is fresh - just exploded from tar ball.

Is this a bug or I am doing something wrong?

Regards,

Niranjan


On 12/17/2013 03:59 PM, Niranjan Rao wrote:
I am also facing problems building 2.2.3 build on Ubuntu 12.04. Its 
possible that my error is totally unrelated to this one.


I have compiled/installed following libraries and are setup using 
PKG_CONFIG_PATH environment variable.


atk-2.11.4  at-spi2-atk-2.11.3  at-spi2-core-2.11.3  glib-2.36.1 
glib-networking-2.36.1  gst-plugins-base-1.0.3  gstreamer-1.0.3 
gtk+-3.6.4  harfbuzz-0.9.16  libsoup-2.42.2


Configure is run as follows, $FP_BUILD_ROOT is set to my install 
directory.


./configure --prefix=$FP_BUILD_ROOT --enable-gtk-doc=no 
--enable-gtk-doc-html=no  --enable-gtk-doc-pdf=no --enable-webkit1=no 
--enable-credential-storage=no --enable-debug-symbols=full


Configure does not complain about anything and terminates normally.

However when running make command I get following error

CDPATH=${ZSH_VERSION+.}:  cd .  aclocal-1.14 -I Source/autotools
Source/autotools/FindDependencies.m4:95: warning: macro 
'AM_PATH_GLIB_2_0' not found in library

 cd .  automake-1.14 --foreign
CDPATH=${ZSH_VERSION+.}:  cd .  autoconf
configure:16705: error: possibly undefined macro: AM_PATH_GLIB_2_0
  If this token and others are legitimate, please use 
m4_pattern_allow.

  See the Autoconf documentation.
configure:17032: error: possibly undefined macro: AC_MSG_ERROR
configure:17034: error: possibly undefined macro: AC_MSG_WARN
make: *** [configure] Error 1

Regards,

Niranjan
On 12/17/2013 04:35 AM, Gustavo Noronha Silva wrote:

Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:
You're using a gles 2.0 library. With this patch (which I need to 
upstream) it

is solved:

https://gist.github.com/ceyusa/8002563

Actually in that patch you can even get rid of the PLATFORM(QT) since
it's no longer in the tree.

This fixes this problem for future tarballs:

https://bugs.webkit.org/show_bug.cgi?id=125782

Cheers,





___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk


Re: [webkit-gtk] error in webkit gtk 2.2.3 stable version compilation

2013-12-17 Thread Aditya Lodha
I applied the patch from the link in previous mail, but I am still facing the 
same error as,



Source/WebCore/platform/graphics/GLContext.cpp: In static member function 
'static WTF::PassOwnPtrWebCore::GLContext 
WebCore::GLContext::createContextForWindow(GLNativeWindowType, 
WebCore::GLContext*)':
Source/WebCore/platform/graphics/GLContext.cpp:155:39: error: 
'GDK_IS_WAYLAND_DISPLAY' was not declared in this scope
make[1]: *** [Source/WebCore/platform/graphics/libPlatformGtk_la-GLContext.lo] 
Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: Leaving directory `/home/hbbtv/Downloads/webkitgtk-2.2.3'
make: *** [all] Error 2



Please help to solve this error.

 
- Original Message -
From: Gustavo Noronha Silva 
To: webkit-gtk@lists.webkit.org
Sent: Tue, 17 Dec 2013 18:05:17 +0530 (IST)
Subject: Re: [webkit-gtk] error in webkit gtk 2.2.3 stable  version 
compilation

Em Ter, 2013-12-17 às 11:21 +0100, Sergio Villar Senin escreveu:
 
  You're using a gles 2.0 library. With this patch (which I need to upstream) 
  it
  is solved:
 
  https://gist.github.com/ceyusa/8002563

 Actually in that patch you can even get rid of the PLATFORM(QT) since
 it's no longer in the tree.

This fixes this problem for future tarballs:

https://bugs.webkit.org/show_bug.cgi?id=125782

Cheers,

--
Gustavo Noronha Silva 
GNOME Project

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

--
Regards,
Aditya Lodha
ILP EIS Trainee
Trivandrum, India
+91-9673408662
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk