| delorie.com/archives/browse.cgi | search |
| 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 <marco DOT atzeri AT gmail DOT com> |
| 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: | <CAPCJcd5jKpFbc_FvSvbDPtXy1A0fm7F-xgo=jNeK5A8MPPEA4Q AT mail DOT gmail DOT com> <CAPCJcd50FqnWQjd5WBxjXiGW_ZXZExNe8VB3qa35LJBLJJDjeQ AT mail DOT gmail DOT com> |
| In-Reply-To: | <CAPCJcd50FqnWQjd5WBxjXiGW_ZXZExNe8VB3qa35LJBLJJDjeQ@mail.gmail.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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:
> <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
>
> >
> * 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 <Rcpp.h>
#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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |