This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
java.awt.Robot needs libXtst
- From: Per Bothner <per at bothner dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 22 Aug 2005 09:43:31 -0700
- Subject: java.awt.Robot needs libXtst
I'd like to build/test libgcj with awt, but that builds
java.awt.Robot which requires libXtst. I'm running Fedora
Core 4 with "everything" installed, and I don't have it,
so it seems likely lots of people wouldn't have it either.
Perhaps if configure doesn't find libXtst, it should either
(1) disable the Robot functionality; or
(2) print a more useful error message.
The latter could specify a flag to disable the need for libXtst,
and/or specify where to get libXtst.
I noticed install.texi mentions a --disable-gtktest flag which
I haven't tried yet.
$ /home/bothner/GNU/gcc.unmodified/configure
--prefix=/home/bothner/GNU/install-gcc --enable-java-awt=gtk
--enable-languages=c,c++,f95,java,objc
$ make bootstrap
mkdir -p -- build-x86_64-unknown-linux-gnu/libiberty
Configuring in build-x86_64-unknown-linux-gnu/libiberty
configure: creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
... ... ...
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
make[1]: Leaving directory `/home/bothner/GNU/build-gcc.unmodified'
make: *** [bootstrap] Error 2
--
--Per Bothner
per@bothner.com http://per.bothner.com/