[webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails

2008-12-10 Thread Arthur Webkid
Hi all,

I am building r39090 on Ubuntu Hardy with GLib 2.16.6

I fail with the following messages:

./doltlibtool --tag=CC --mode=link gcc  -O2   -o Programs/UnitTests
WebKit/gtk/tests/Programs_UnitTests-main.o libwebkit-1.0.la
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0   
gcc -O2 -o Programs/.libs/UnitTests
WebKit/gtk/tests/Programs_UnitTests-main.o  ./.libs/libwebkit-1.0.so 
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so 
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so 
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so 
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so 
WebKit/gtk/tests/Programs_UnitTests-main.o: In function `main':
main.c:(.text+0x37): undefined reference to `gtk_test_init'
collect2: ld returned 1 exit status
make[1]: *** [Programs/UnitTests] Error 1
make[1]: Leaving directory `/home/arthur/src/WebKit-r39090'
make: *** [all] Error 2

Some research on the net I suspect this is due to the check in of
http://trac.webkit.org/changeset/39082

What I don't understand is I have GLib 2.16.6 installed but still can't
build. Anyone has the same problem likes me?

Thanks


--
Arthur Webkid


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails

2008-12-10 Thread Gustavo Noronha Silva
On Wed, 2008-12-10 at 20:49 +0800, Arthur Webkid wrote:
 What I don't understand is I have GLib 2.16.6 installed but still can't
 build. Anyone has the same problem likes me?

What matters is your GTK+ version, which should be higher than 2.14.0,
which adds that symbol, could you try that?

See you,

-- 
Gustavo Noronha Silva [EMAIL PROTECTED]
GNOME contributor: http://www.gnome.org/

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails

2008-12-10 Thread Arthur Webkid
Hi Estêvão Samuel Procópio

Any detailed information on gtk_test_init on GTK at 2.14?
I want to explore more on this issue.

If that is the case, I think configure should check for GTK version /
the code (main.c) should also check the version of GTK...

Thanks

--
Arthur Webkid


於 三,2008-12-10 於 10:58 -0200,Estêvão Samuel Procópio 提到:
 On Wed, Dec 10, 2008 at 10:49 AM, Arthur Webkid
 [EMAIL PROTECTED] wrote:
 Hi all,
 
 I am building r39090 on Ubuntu Hardy with GLib 2.16.6
 
 I fail with the following messages:
 
 ./doltlibtool --tag=CC --mode=link gcc  -O2   -o
 Programs/UnitTests
 WebKit/gtk/tests/Programs_UnitTests-main.o libwebkit-1.0.la
 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
 -lgmodule-2.0 -ldl
 -lglib-2.0
 gcc -O2 -o Programs/.libs/UnitTests
 WebKit/gtk/tests/Programs_UnitTests-main.o
  ./.libs/libwebkit-1.0.so /usr/lib/libgtk-x11-2.0.so 
 /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so 
 /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so 
 /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so 
 /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
 WebKit/gtk/tests/Programs_UnitTests-main.o: In function
 `main':
 main.c:(.text+0x37): undefined reference to `gtk_test_init'
 collect2: ld returned 1 exit status
 make[1]: *** [Programs/UnitTests] Error 1
 make[1]: Leaving directory `/home/arthur/src/WebKit-r39090'
 make: *** [all] Error 2
 
 Some research on the net I suspect this is due to the check in
 of
 http://trac.webkit.org/changeset/39082
 
 What I don't understand is I have GLib 2.16.6 installed but
 still can't
 build. Anyone has the same problem likes me?
 
 Thanks
 
 
 The error is related to GTK+ Testing Framework (gtk_test_init). You
 will 
 need, besides glib 2.16, libgtk2.0-dev at version 2.14... yours should
 be 2.12...
 Upgrade to Ubuntu Intrepid (8.10) to solve this issue.
 
 
 Estêvão Samuel Procópio
 

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails

2008-12-10 Thread Arthur Webkid
Filed.

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

--
Arthur Webkid


於 三,2008-12-10 於 16:21 +0200,Kalle Vahlman 提到:
 2008/12/10 Gustavo Noronha Silva [EMAIL PROTECTED]:
  On Wed, 2008-12-10 at 20:49 +0800, Arthur Webkid wrote:
  What I don't understand is I have GLib 2.16.6 installed but still can't
  build. Anyone has the same problem likes me?
 
  What matters is your GTK+ version, which should be higher than 2.14.0,
  which adds that symbol, could you try that?
 
 ...and file a bug about the configuration/build system allowing the
 unit tests to be built when GTK+ version  2.14.
 

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev