[R] Lost Tcl/Tk support

David Brahm brahm at alum.mit.edu
Mon Apr 29 19:49:53 CEST 2002


In prior versions, as recent as R-1.5.0pre (2002-04-08), Tcl/Tk support worked
just fine, with "configure" (no flags) finding /usr/local/lib/tclConfig.sh and
/usr/local/lib/tkConfig.sh.  In Monday's official release of R-1.5.0, Tcl/Tk
support now fails for me (under Solaris 2.6):
  ...
  checking for tclConfig.sh... no
  checking for tclConfig.sh in library (sub)directories... no
  checking for tkConfig.sh... no
  checking for tkConfig.sh in library (sub)directories... no
  checking for tcl.h... yes
  checking for tk.h... yes
  ...
  R is now configured for sparc-sun-solaris2.6

    Source directory:          .
    Installation directory:    /usr/local
    C compiler:                /res/local/bin/gcc  -g -O2
    C++ compiler:              g++  -g -O2
    FORTRAN compiler:          g77  -g -O2

    X11 support:               yes
    Gnome support:             no
    Tcl/Tk support:            no             <-----------------
    Readline support:          yes

    R profiling support:       yes
    R as a shared library:     no


Adding the --with-tcltk flag doesn't help, but adding flags:
   --with-tcl-config=/res/local/lib/tclConfig.sh
   --with-tk-config=/res/local/lib/tkConfig.sh
does the trick.  (Note we have these files under both /usr and /res.)

This suggests to me that in the past 3 weeks, "configure" has lost its ability
to find the tclConfig.sh and tkConfig.sh scripts.
-- 
                              -- David Brahm (brahm at alum.mit.edu)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list