From Ungracious Hog, 1 Year ago, written in R.
  1. > install.packages("tkrplot", repos="http://cran.us.r-project.org")
  2. Installing package into ‘/usr/local/lib/R/site-library
  3. (methods/html/as.html">as ‘lib’ methods/html/is.html">is unspecified)
  4. trying URL 'http://cran.us.r-project.org/src/contrib/tkrplot_0.0-23.tar.gz'
  5. Content type 'application/x-gzip' length 39037 bytes (38 KB)
  6. ==================================================
  7. downloaded 38 KB
  8.  
  9. * installing *source* package ‘tkrplot’ ...
  10. ** package ‘tkrplot’ successfully unpacked and MD5 sums checked
  11. configure: creating ./config.status
  12. config.status: creating src/Makevars
  13. ** libs
  14. gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I/usr/include/tcl8.6 -I/usr/include/tcl8.6     -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c tcltkimg.c -o tcltkimg.o
  15. tcltkimg.c:2:16: fatal error: tk.h: No such file or directory
  16. compilation terminated.
  17. /usr/lib/R/etc/Makeconf:134: recipe for target 'tcltkimg.o' failed
  18. make: *** [tcltkimg.o] Error 1
  19. ERROR: compilation failed for package ‘tkrplot’
  20. * removing ‘/usr/local/lib/R/site-library/tkrplot’
  21.  
  22. The downloaded source packages are in
  23.         ‘/tmp/RtmpOa8koP/downloaded_packages’
  24. Warning message:
  25. In install.packages("tkrplot", repos = "http://cran.us.r-project.org") :
  26.   installation of package ‘tkrplot’ had non-zero exit status
  27.  
captcha