[Rd] configure script fails on comment in tkConfig.sh (PR#1500)
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:
> 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?
> # Tk's version number.
> 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: firstname.lastname@example.org