delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/11/23:48:32

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=dDceAHH7XR7/2uAGOQ7VCOtkbViwLFW4Jq11quMRqy/
97EFfsYv6VQRDeTsZpoK8OQx5ZS8/j6R2PySlgNqzt513WwOIGVW+wz0v6y7W3Ax
vEALbCr7mjbTcRlrkF1lzUYL7d83xkPK1kCSa2YtWnvW0KjRKpf3f8iu5xdlGOu0
=
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=UqUXmuAo+yKnXl5kyEVmJLZVWVA=; b=kIaw+dqEw5jTX/4Pb
ZJ366dAOX8W0pRIHQzoRaINX9NorgXacWHyk8HgAr1tdw4zR+CnBcFolHE4t1+0I
jI7ml7Y1yhvuBxHeKlaNmmmTmdZF/eoHKAPl3ZquBOhX+8xzZ79MuXWj8as6iH4P
Z8K7esSRogehlzClyH/F3x8gHk=
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,RCVD_IN_SORBS_WEB,SPF_PASS autolearn=ham version=3.3.1
X-Received: by 10.14.241.5 with SMTP id f5mr45067136eer.131.1373600890806; Thu, 11 Jul 2013 20:48:10 -0700 (PDT)
Message-ID: <51DF7C74.2040807@gmail.com>
Date: Fri, 12 Jul 2013 05:48:04 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
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: mingw/math.h not found while compiling R packages
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>
In-Reply-To: <51DF2B64.5010508@gmail.com>

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

- Raw text -


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