[Rd] configure script fails on comment in tkConfig.sh (PR#1500)
Kurt Hornik
Kurt.Hornik@wu-wien.ac.at
Tue, 30 Apr 2002 20:41:55 +0200
>>>>> kleiweg writes:
> The configure script failed on tk on several platforms. One is
> given below. This did not happen on versions of R older than 1.5.0.
> Message from configure:
> configure: WARNING: /opt_local/opt/tk-8.0/include/tk.h: accepted by the compiler, rejected by the preprocessor!
> configure: WARNING: /opt_local/opt/tk-8.0/include/tk.h: proceeding with the preprocessor's result
> This was in config.log, the command on a single line:
> configure:21361: cc -E -I/opt_local/opt/readline/include
> -I/opt_local/opt/tk/include -I/opt_local/opt/tcl/include
> -I/opt_local/opt/jpeg6/inclu de -I/opt_local/opt/png/include
> -I/opt_local/opt/ncurses/include -I/opt_local/opt/zlib/include
> -I/opt_local/opt/R/include # no special path needed
> -I/opt_local/opt/tcl-8.0/include conftest.c
> cc: warning 485: Can't open "#".
> cc: warning 485: Can't open "no".
> cc: warning 485: Can't open "special".
> cc: warning 485: Can't open "path".
> cc: warning 485: Can't open "needed".
> 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.
Which version of Linux is this?
-k
> # Tk's version number.
> TK_VERSION='8.3'
> TK_MAJOR_VERSION='8'
> TK_MINOR_VERSION='3'
> TK_PATCH_LEVEL='.3'
> Version:
> platform = i686-pc-linux-gnu
> arch = i686
> os = linux-gnu
> system = i686, linux-gnu
> status =
> major = 1
> minor = 5.0
> year = 2002
> month = 04
> day = 29
> language = R
> Search Path:
> .GlobalEnv, package:tcltk, package:ctest, Autoloads, package:base
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._