java.awt.Robot needs libXtst
Marco Manfredini
mldb@gmx.net
Sun Aug 28 19:10:00 GMT 2005
On Monday 22 August 2005 18:43, Per Bothner wrote:
> 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.
[...]
> 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
I've had the same problem. Inspecting the log revealed that configure tried to
link a 32 bit binary against the libraries from /usr/X11R6/lib64 [1].
Just in case someone needs a workaround: issuing
export LIBRARY_PATH=/usr/lib64:/usr/lib:/usr/X11R6/lib64:/usr/X11R6/lib
before then build, helped me around that.
I'm not sure what I've made wrong with then Fedora Core 4 32bit compatibility
packages I've installed, but the build process will later complaint about
missing 32 bit libraries which can be located in /usr/lib: It's just that the
lib<name>.so link is missing. Don't know why. Fixing the links gives me a
working compiler.
Marco
--
[1] "braindead lib64 scheme" needs more google hits.
More information about the Java
mailing list