This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/25026] New: -libXtst not detected [--enable-java-awt=gtk]

my gcc is configured with:

--prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
--infodir=/usr/share/info --mandir=/usr/share/man 
--x-libraries=/usr/X11R6/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-languages=c,c++,ada,java --enable-c99
--enable-long-long --disable-multilib --enable-nls --disable-werror
--with-gnu-as --with-gnu-ld --without-x --with-demangler-in-ld
--with-system-zlib --with-slibdir=/lib --enable-libgcj
--enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo
--enable-java-awt=gtk ppc-pld-linux
CFLAGS=-O2 -ggdb
CXXFLAGS=-O2 -ggdb

but libgcj configure fails:

checking for gtk+-2.0 >= 2.4... yes
-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/X11R6/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
checking GTK_LIBS... -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi
-lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes
-lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender
-lX11 -lXext -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
checking GLIB_LIBS... -pthread -lgthread-2.0 -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[2]: *** [configure-target-libjava] Error 1

$ ls -la /usr/X11R6/lib/libXtst*
   14 Nov 15 08:01 /usr/X11R6/lib/ ->
   14 Aug  1 23:06 /usr/X11R6/lib/ ->
27012 Nov 15 01:26 /usr/X11R6/lib/

configure:13839: checking for XTestQueryExtension in -lXtst
-B/usr/ppc-pld-linux/bin/ -B/usr/ppc-pld-linux/lib/ -isystem
/usr/ppc-pld-linux/include -isystem /usr/ppc-pld-linux/sys-include -o conftest
-O2 -O2 -ggdb conftest.c -lXtst   >&5
/usr/bin/ld: cannot find -lXtst
collect2: ld returned 1 exit status
configure:13880: $? = 1

i don't see a -L/usr/X11R6/lib in test.

           Summary: -libXtst not detected [--enable-java-awt=gtk]
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: *-linux
  GCC host triplet: *-linux
GCC target triplet: *-linux

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]