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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Bx TY42myoHvNSv1s/ndTtRHo06S1rPoNSKwdvHT8EnRH2Q2mZbbk39TF6aPK6uTamu xNS9S10upbMElelDSEA/oQXksYm23vqs6TFT8Xrbkv3e9FW8ggVz23vB/ugxATzD gSckYXBq5kqsb02WqUJA3Bj3nXcGRy3JfETBElq3k= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=JOVIvu0D xseAQg++NKXKhcL5BEo=; b=c99PZX1kJsagB65hMLTEsVZTzQBkcE0PRcSiMU1c YwuMN5XyQHXdm9WbR3XWj9BwDM+lPp1DYTpz/lvEmjLCn0ajLn/T6019haWuJ0If qpbDIlNZPcYnc5uIH/S+CXUS1OcD4dWWWOSfiyp1XuFG34F2ppGyStwYYb6xPlzH 8mI= 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 X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.180.187.209 with SMTP id fu17mr880363wic.52.1373616108761; Fri, 12 Jul 2013 01:01:48 -0700 (PDT) In-Reply-To: <51DF7C74.2040807@gmail.com> References: <51DEEB49 DOT 5080104 AT gmail DOT com> <51DF2B64 DOT 5010508 AT gmail DOT com> <51DF7C74 DOT 2040807 AT gmail DOT com> Date: Fri, 12 Jul 2013 09:01:48 +0100 Message-ID: Subject: Re: mingw/math.h not found while compiling R packages From: Enrico Ferrero To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Hi Marco, Thanks a lot for your help. I downloaded your patched package and it compiles without any issues. Since the bug is in Bioconductor and not Cygwin at the end of the day, it would probably be a good idea to file a bug report there. If you're OK with it, I can CC you and link to your patch, just let me know. Again, thank you! Best, Enrico On 12 July 2013 04:48, marco atzeri wrote: > Il 7/12/2013 12:02 AM, marco atzeri ha scritto: >> >> Il 7/11/2013 10:51 PM, Enrico Ferrero ha scritto: >>> >>> Hi, >>> >> >> I am building biocLite, it will take some time... >> > > Enrico, > As I was thinking the package is broken. > I don't know why they put a wrong and useless #include directive > > If you download the package and patch the source as > > ------------------------------------------------------- > --- orig/IRanges/src/common.h 2013-02-22 04:36:50.000000000 +0100 > +++ IRanges/src/common.h 2013-07-12 00:19:05.922405200 +0200 > @@ -55,10 +55,6 @@ > #endif > #endif > > -#ifdef __CYGWIN32__ > -#include > -#endif > - > #ifndef NAN > #define NAN (0.0 / 0.0) > #endif > --------------------------------------------------------- > > after repacking > you can then install the local file with something like > install.packages("/tmp/IRanges_1.16.6.tar.gz") > > I put the already patched file here if you are interested: > http://matzeri.altervista.org/works/R/ > > 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 > -- 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