delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/12/04:02:17

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: <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=-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: <CAO22HXc6RUeTcUwMbz85x3OBb+wuLUGhnOcQvLydXJaqPi_6mw AT mail DOT gmail DOT com> <51DEEB49 DOT 5080104 AT gmail DOT com> <CAO22HXeDd4cQCcZiWfYG_7xrmKmmoZ6A_vstqKh9SBeCW9t+2w AT mail DOT 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: <CAO22HXcoO97Hix+3mhN7JngNaCd4bwB3npR-Q7TmXczQ1ApU0w@mail.gmail.com>
Subject: Re: mingw/math.h not found while compiling R packages
From: Enrico Ferrero <enricoferrero86 AT gmail DOT com>
To: cygwin AT cygwin DOT com

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 <marco DOT atzeri AT gmail DOT com> 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 <mingw/math.h>
> -#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

- Raw text -


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