[Rd] Tcl/Tk on Panther

Jan de Leeuw deleeuw at stat.ucla.edu
Tue Aug 19 12:44:56 MEST 2003


It used to be sufficient to configure R with

configure --enable-R-shlib  
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh  
--with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh  
--with-blas='-framework vecLib' --with-lapack --with-aqua

but for some reason this does get Tcl/Tk support build in Panther  
(batteries included version of Aqua Tcl/Tk,
but observe 8.4.3 is also sitting in /usr). I now need to set explicitly

TCLTK_LIBS=-framework Tcl -framework Tk
TCLTK_CPPFLAGS=-I/Library/Frameworks/Tcl.framework/Versions/Current/ 
Headers -I/Library/Frameworks/Tk.framework/Versions/Current/Headers

for it to find stuff. Otherwise it will look in /usr/include for tk.h,  
and Apple does not include Tk, only Tcl.
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au



More information about the R-devel mailing list