Hi guys, Perhaps someone here can help.
I am trying to build versions of R 1 for the rcheology package (just arrived on CRAN). For R prior to 1.5.0, I cannot configure support for tcl-tk. I am building on Debian Woody (provided by Docker debian/eol) and have the following packages installed: r-base-dev tclx8.3-dev tk8.3-dev xvfb xbase-clients x-window-system-core I download R source from http://cran.r-project.org/src/base/R-1 and run ./configure --with-tcl-tk=yes --with-tcl-config=/usr/lib/tcl8.3/tclConfig.sh --with-tk-config=/usr/lib/tk8.3/tkConfig.sh These are the locations for the relevant tkConfig.sh and tclConfig.sh files. This gives output as follows: R is now configured for x86_64-unknown-linux-gnu Source directory: . Installation directory: /usr/local C compiler: gcc -g -O2 C++ compiler: c++ -g -O2 FORTRAN compiler: g77 -g -O2 X11 support: yes Gnome support: no Tcl/Tk support: no R profiling support: yes R as a shared library: no And config.log reveals: configure:13099: checking for /usr/lib/tcl8.3/tclConfig.sh configure:13134: checking for /usr/lib/tk8.3/tkConfig.sh configure:13204: checking for /usr/include/tcl8.3/tcl.h configure:13214: gcc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:13313: checking for /usr/include/tk8.3/tk.h configure:13323: gcc -E -I/usr/local/include -I/usr/X11R6/include -I/usr/include /tcl8.3 conftest.c >/dev/null 2>conftest.out configure:13319: /usr/include/tk8.3/tk.h: No such file or directory configure: failed program was: #line 13318 "configure" #include "confdefs.h" #include </usr/include/tk8.3/tk.h> configure:13348: checking for /usr/include/tk.h configure:13358: gcc -E -I/usr/local/include -I/usr/X11R6/include -I/usr/include /tcl8.3 conftest.c >/dev/null 2>conftest.out configure:13354: /usr/include/tk.h: No such file or directory configure: failed program was: #line 13353 "configure" #include "confdefs.h" #include </usr/include/tk.h> configure:13385: checking for tk.h configure:13389: tk.h: No such file or directory In fact, tk.h is in /usr/include/tcl8.3/ , despite the failed program compilation report. R 1.5.0 and above work fine. Can anyone remember far back, if something changed in the configure script? Alternatively, those who are feeling brave can download the Docker image creation scripts from github.com/hughjonesd/rcheology . Cheers, David -- Sent from Gmail Mobile [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel