From deleeuw at stat.ucla.edu  Tue Aug 19 12:44:56 2003
From: deleeuw at stat.ucla.edu (Jan de Leeuw)
Date: Tue Aug 19 20:44:54 2003
Subject: [Rd] Tcl/Tk on Panther
Message-ID: <3A6B9C52-D275-11D7-9EAB-000393BB6D36@stat.ucla.edu>

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@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


[Rd] Tcl/Tk on Panther
Jan de Leeuw