Re: Problmes building Qt/GTK AWT peer (gcc 4.3 arm-linux)
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
ffileppo wrote: > Hi guys, > > I'm facing problems building gcj with Qt and GTK+ AWT peer (arm-linux-gnueabi). > > Here is the error I'm getting when building gcj with gtk peer: > > ... > checking for gtk+-2.0 >= 2.4... yes > checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 > checking GTK_LIBS... -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 > checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... yes > checking GLIB_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > checking GLIB_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0 > checking for libart-2.0 >= 2.1... yes > checking LIBART_CFLAGS... -I/usr/include/libart-2.0 > checking LIBART_LIBS... -lart_lgpl_2 > checking for XTestQueryExtension in -lXtst... no > configure: error: libXtst not found, required by java.awt.Robot > make[1]: *** [configure-target-libjava] Error 1 > > I have both libxtst6 and libxtst-dev packages installed on my box. You're trying to cross-compile libgcj. It might be that the configure test is wrong. Have a look at config.log in the libgcj build directory. Andrew.