This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: java.awt.Robot needs libXtst


On Mon, 2005-08-22 at 11:21 -0700, Per Bothner wrote:
> Dalibor Topic wrote:
> >>From my experience (and my own multiple additions to the ./configure
> > option maze in kaffe), I'd suggest simply printing a very descriptive
> > error message[1] and aborting the configure script.
> > 
> > Creating different sub-configurations for special cases has a pretty
> > high maintenance cost in the long term, as I've found out. :)
> >
> > [1] "please install the libXtst development package, or turn off gtk
> > peers by passing the option --something to the configure script"
> 
> It seems a shame that people can't use gtk peers without a non-default
> development library.
> 
> Perhaps we could have a 'gtk-without-robut' option ...
> 
> Tom Tromey wrote:
>  > On my FC4 box this library is in the xorg-x11-devel package.
> 
> I tried 'yum update xorg-x11-devel' and 'you install xorg-x11-devel'.
> Neither appeared to do anything.
> 
> I'm concerned about deployment.  It may be ok to require a -devel
> package for somebody compiling an gcj/gtk/awt application.
> However, it must be possible to install that application on a
> box that doesn't have libXtst installed.  I assume that is the case?

Yes.

xorg-x11-libs installs /usr/X11R6/lib/libXtst.so.6
and /usr/X11R6/lib/libXtst.so.6.1.  xorg-x11-devel
installs /usr/X11R6/lib/libXtst.a and /usr/X11R6/lib/libXtst.so.

I think it's fair to require an X development package when building the
GTK peers.  And libXtst seems to be shipped with Xorg.  I don't want to
introduce more sub-configurations within the gtk configuration option.
The graphics vs. graphics2d sub-configuration has already created too
much annoyance/confusion.

Tom



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