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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
David Brahm <brahm at alum.mit.edu> writes:> > 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.Possibly while gaining the ability to find them on FreeBSD.... It does work under Solaris 7 with the files in /usr/local/lib, though. Are you quite sure you didn't have to set something (LD_LIBRARY_PATH, e.g.) last time around? What is the error recorded in config.log? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
With Peter Dalgaard's kind help, I've figured out that the problem was
on my
end. We have 3 parallel machines, but only one of them has the *Config.sh
scripts in /usr/local/lib. And despite my settings for LDFLAGS,
"configure" is
hard-wired to look only in /opt/lib, /usr/local/lib, /usr/lib, and /lib.
Nothing is broken. Sorry for the false alarm. Thanks, Peter!
--
-- 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._