X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Message-ID: <4F8AD624.1030708@gmail.com> Date: Sun, 15 Apr 2012 16:07:32 +0200 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: R-2.14.2-1 and knitr-0.4 package (W7) References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 4/14/2012 7:25 PM, Dario Buttari wrote: > 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: > > > Do you have any recommendation on how to go around this problem or > where to post this issue? > Thanks, > Dario > > > > * 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 > 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 on Rcpp_0.9.10.tar.gz you need to exclude cygwin from platform having execinfo.h. ---------------------------------------------------------------------- --- src/debugging.cpp_bk 2012-04-15 16:04:11.104213600 +0200 +++ src/debugging.cpp 2012-04-15 16:04:59.454979200 +0200 @@ -22,7 +22,7 @@ #include #if defined(__GNUC__) -#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||defined(__CYGWIN__) // Simpler version for Windows and *BSD SEXP stack_trace( const char* file, int line ){ Rcpp::List trace = Rcpp::List::create( ------------------------------------------------------------------------ Regards Marco -- 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