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: 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=-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 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: <51DEEB49 DOT 5080104 AT gmail DOT com> <51DF2B64 DOT 5010508 AT gmail DOT com> In-Reply-To: <51DF2B64.5010508@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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