and tkConfig.sh at all, but putting TCLTK_LIBS and TCLTK_CPPFLAGS
in the environment.
I could try to use, in addition, --with-tclconfig and --with-tkconfig, but I
thought that would not be necessary if location of headers and libs are
defined explicitly.
On Tuesday, February 25, 2003, at 12:06 AM, [EMAIL PROTECTED] wrote:
On Mon, 24 Feb 2003, Jan de Leeuw wrote:
The OS X configure in R-devel has been changed to use two-level namespaces. There are still some problems.
1. Trunmed.c in the modreg packages defines a function heapsort(), while heapsort is also defined (differently) in /usr/lib/stdlib.h. I (temporarily) disabled the definition in stdlib.h.
That's a very recent addition, and we do try to keep an eye on such things. The R symbol has been changed now.
2. If R is configured with the --without-x flag, then CPPFLAGS does not
include
/usr/X11R6/include, while the tk.h files still tries to include
X11/xlib.h (and
can't find it, obviously). I added -I /usr/X11R6/include to the compile
of tcltk.o
This looks like a bug in your tkConfig.sh. For example on Solaris it has
# -I switch(es) to use to make all of the X11 include files accessible: TK_XINCLUDES='-I/usr/openwin/include'
and that is what R uses, specifically
if test -n "${TK_XINCLUDES}"; then TCLTK_CPPFLAGS="${TCLTK_CPPFLAGS} ${TK_XINCLUDES}" else TCLTK_CPPFLAGS="${TCLTK_CPPFLAGS} ${X_CFLAGS}" fi
Or is tkConfig.sh not being found and you need to point configure at it?
-- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-devel