[Rd] configure script fails on comment in tkConfig.sh (PR#1500)

Kurt Hornik Kurt.Hornik@wu-wien.ac.at
Wed, 1 May 2002 12:07:45 +0200


>>>>> Peter Kleiweg writes:

> Kurt Hornik scribeva...
>> > I had to edit tkConfig.sh to solve this problem. This line:
>> 
>> > TK_XINCLUDES='# no special path needed'
>> 
>> > changed to this:
>> 
>> > TK_XINCLUDES=
>> 
>> 
>> > After this fix, R was configured for tcl/tk, and the package
>> > tcltk seems to work OK (at least on this platform).
>> 
>> A bug in your Tcl/Tk installation, I think.

> If it is, it never caused any problem before, with older versions of
> R.

Interesting.  My tkConfig.sh has

# -I switch(es) to use to make all of the X11 include files accessible:
TK_XINCLUDES='-I/usr/X11R6/include'

and I would not think that '# no special path needed' is a valid switch.

If this problem persists acroess platforms we can work around it but I
must say that Tcl/Tk configuration testing is getting a bit silly after
all.

>> Which version of Linux is this?

> This is on a recent distro of SuSE. Don't know what version. The
> kernel is 2.4.4-4GB from May 2001. The same problem occured on
> HP-UX 10.20 (July 1996).

> The problem did not occur on an older version of SuSE for Alpha
> from November 1999, or my own RedHat 5.0 (November 1997, I
> think).

Maybe we did not use TK_XINCLUDES then.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._