[Rd] x11 configure test

Thomas Lumley thomas@biostat.washington.edu
Tue, 29 Aug 2000 13:03:29 -0700 (PDT)

On Tue, 29 Aug 2000, Paul Gilbert wrote:

> >> the graphics window pops up in 6.3, but not in 6.4
> >Sounds like X didn't get configured on the 6.4 box. Might you be
> >missing an x11-devel package or some such?
>                           ^^^^^^
> Well I have Mandrake 7.0 installed on two very similar machines and R
> 1.1.1 configures with
> X11 support      no
> Gnome support no
> Tcl/Tk support no
> on one and
> X11 support      yes
> Gnome support no
> Tcl/Tk support yes
> on the other. Both are running X11 and Gnome. I think I was told that
> Gnome support has to be specifically indicated to configure, but I don't
> understand what is happening to X11 and Tcl/Tk. (Of course, it would't
> be the first time I've messed up something re-installing Linux.) I do
> think the X11 support test seems a bit too particular about something. I
> was actually running X11 when I did the configure that gave "X11 support
> no".
> BTW, should Linux X11-development be necessary or just X11 support?

You need x11-development, ie the X11 headers.  Configure does look in
quite a lot of places for both the headers and the libraries.

Tcl/Tk is less dedicated, but you can specify the location quite easily.  
You will have problems if the files have nonstandard names (eg on a
machine here tcl.h is the old version and the new version is tcl8.h, which
doesn't work)


r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch