delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/01/05:12:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ZvHeAoZ0vLbKy+O9+2yqt//2U0QksaFNrAROP1vBuBZ
ZkRPUzBGqHDARWWLXGPqgY0xqEsyW1kzZ6FMPI3X1z81wBVh8DFZFAHlCM6IhqDJ
Obh8nVkkBi09PBmDivJ/wPM6C+mQWzjBz1x6kLMiAEATmh3IhDwI1EX0PQiuTqtM
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=OGzXX55c4w8yBqdjTrP5+xPHsqg=; b=j9rzU2wpuIG/9QLne
FaBqAmNDuUdBLTNr5TOvYosB9cLS+afliBE/J4tiHFNT8W/zbwWZGN9axo3A03sC
LKA9seJL3jwq8GKIKi/Pob5FMcAbS+rk4UEi5s/mbwphevGMrEFaFP81aaMeMHAc
2pVtUe+GxWTX0SJY0d8VoIR73U=
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
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.236.91.68 with SMTP id g44mr228999yhf.167.1375348318869; Thu, 01 Aug 2013 02:11:58 -0700 (PDT)
Message-ID: <51FA2661.1060200@users.sourceforge.net>
Date: Thu, 01 Aug 2013 04:12:01 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Rcpp installation fails on Cygwin: Rcpp::Timer not supported by your OS.
References: <CAO22HXcS0w2Ke5_1WG+mvmgBamMumRUEu2-FeZ59n+xJ_q9aeA AT mail DOT gmail DOT com> <51F95A89 DOT 20907 AT users DOT sourceforge DOT net> <CAO22HXcEsWBhM-83+qP5yichehQzRUc55NRB4CRi0NO+Q-9Jnw AT mail DOT gmail DOT com>
In-Reply-To: <CAO22HXcEsWBhM-83+qP5yichehQzRUc55NRB4CRi0NO+Q-9Jnw@mail.gmail.com>

On 2013-08-01 02:46, Enrico Ferrero wrote:
> Thanks Yaakov,
> That looks exactly like what I need. May I ask how would I go about
> patching and installing it on my system?

1) Manually:

wget http://cran.r-project.org/src/contrib/Rcpp_0.10.4.tar.gz
wget -O 0.10.4-cygwin.patch 
'http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/R-Rcpp;a=blob_plain;f=0.10.4-cygwin.patch;hb=HEAD'
tar axf Rcpp_0.10.4.tar.gz
pushd Rcpp
patch -p2 < ../0.10.4-cygwin.patch
popd
R CMD INSTALL ./Rcpp
mv /usr/lib/R/site-library/Rcpp/lib/libRcpp.dll /usr/bin/
ln -s /usr/bin/libRcpp.dll /usr/lib/R/site-library/Rcpp/lib/libRcpp.dll.a

2) Install cygport and git (and their prereqs), then:

git clone git://cygwin-ports.git.sourceforge.net/gitroot/cygwin-ports/R-Rcpp
cd R-Rcpp
cygport R-Rcpp.cygport fetch prep build install package
tar axf R-Rcpp-0.10.4-1/dist/R-Rcpp/R-Rcpp-0.10.4-1.tar.bz2 -C /
git clean -dfq


Yaakov


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019