Hello, I am using R 2.14.2-1 under cygwin 1.7.12-1 in Windows 7 Professional Service Pack 1. I am trying to install the knitr 0.4 package under R 2.14.2-1, and the installation fails while installing the Rcpp 0.9.10 dependency. The problem seems related to the missing execinfo.h (see code below). Based on this webpage execinfo.h is not supported under cygwin and several other platforms: <http://www.gnu.org/savannah-checkouts/gnu/gnulib/manual/html_node/execinfo_002eh.html>
Do you have any recommendation on how to go around this problem or where to post this issue? Thanks, Dario $ r R version 2.14.2 (2012-02-29) ... > install.packages('knitr') ... also installing the dependencies ‘parser’, ‘Rcpp’, ‘formatR’, ‘highlight’ trying URL 'http://cran.stat.ucla.edu/src/contrib/parser_0.0-14.tar.gz' Content type 'application/x-tar' length 77717 bytes (75 Kb) opened URL ================================================== downloaded 75 Kb trying URL 'http://cran.stat.ucla.edu/src/contrib/Rcpp_0.9.10.tar.gz' Content type 'application/x-tar' length 2087039 bytes (2.0 Mb) opened URL ================================================== downloaded 2.0 Mb trying URL 'http://cran.stat.ucla.edu/src/contrib/formatR_0.4.tar.gz' Content type 'application/x-tar' length 175829 bytes (171 Kb) opened URL ================================================== downloaded 171 Kb trying URL 'http://cran.stat.ucla.edu/src/contrib/highlight_0.3.1.tar.gz' Content type 'application/x-tar' length 468478 bytes (457 Kb) opened URL ================================================== downloaded 457 Kb trying URL 'http://cran.stat.ucla.edu/src/contrib/knitr_0.4.tar.gz' Content type 'application/x-tar' length 243020 bytes (237 Kb) opened URL ================================================== downloaded 237 Kb * installing *source* package ‘Rcpp’ ... ** package ‘Rcpp’ successfully unpacked and MD5 sums checked ** libs g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Date.cpp -o Date.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c DateVector.cpp -o DateVector.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Datetime.cpp -o Datetime.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c DatetimeVector.cpp -o DatetimeVector.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Dimension.cpp -o Dimension.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c DottedPair.cpp -o DottedPair.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Environment.cpp -o Environment.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Evaluator.cpp -o Evaluator.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Formula.cpp -o Formula.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Function.cpp -o Function.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Language.cpp -o Language.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Module.cpp -o Module.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Pairlist.cpp -o Pairlist.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Promise.cpp -o Promise.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c RObject.cpp -o RObject.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c RcppCommon.cpp -o RcppCommon.o gcc -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -std=gnu99 -c Rcpp_init.c -o Rcpp_init.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Reference.cpp -o Reference.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Rostream.cpp -o Rostream.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Rstreambuf.cpp -o Rstreambuf.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c S4.cpp -o S4.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c Symbol.cpp -o Symbol.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c WeakReference.cpp -o WeakReference.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c barrier.cpp -o barrier.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c cache.cpp -o cache.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c coerce.cpp -o coerce.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c complex.cpp -o complex.o g++ -I/usr/lib/R/include -I../inst/include/ -g -O2 -pipe -c debugging.cpp -o debugging.o debugging.cpp:36:22: fatal error: execinfo.h: No such file or directory compilation terminated. /usr/lib/R/etc/Makeconf:129: recipe for target `debugging.o' failed make: *** [debugging.o] Error 1 ERROR: compilation failed for package ‘Rcpp’ * removing ‘/usr/lib/R/site-library/Rcpp’ ERROR: dependency ‘Rcpp’ is not available for package ‘parser’ * removing ‘/usr/lib/R/site-library/parser’ ERROR: dependency ‘parser’ is not available for package ‘formatR’ * removing ‘/usr/lib/R/site-library/formatR’ ERROR: dependencies ‘parser’, ‘Rcpp’ are not available for package ‘highlight’ * removing ‘/usr/lib/R/site-library/highlight’ ERROR: dependencies ‘formatR’, ‘highlight’ are not available for package ‘knitr’ * removing ‘/usr/lib/R/site-library/knitr’ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple