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