[webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails
Arthur Webkid
arthur.webkid at gmail.com
Wed Dec 10 06:16:23 PST 2008
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
> <arthur.webkid at gmail.com> 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
>
More information about the webkit-dev
mailing list