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=RRoV14rZF9uu2u4BV/XCZjsmJmDjr6zy8E4ntPrmbmH lcV7vFoY/yppR5ACtqmJzBkIzH/jSopB/2ibvxA+EoA/AF1EPaln5G56kxGN8BGq zRrrwEjNe+t7UKGtCwCeUiPbk6Kf5QIzVWKV3+wWBWCLpJWDExwzwK+klyLFuJxU = 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=dfryh3Hqt6eeKLGLsLq3czapvpw=; b=jpiT/+2Y9eDdLnaAP pD9I+yy6jkx03I36iCXHHxmfaACtMjP8Pze1ucJICNMhQ4bbZGDI5ZkS7KpMwLU7 2nuLoGZLqZGrAoILDxUNFfHN76i757glOZrMzldBEQQfkwJy5SN/+dIINeT6PQQh Asy2Z1MvVvtVL4QG+DNXSa7xic= 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,TW_YG autolearn=ham version=3.3.1 X-Received: by 10.15.34.129 with SMTP id e1mr44132042eev.80.1373580158485; Thu, 11 Jul 2013 15:02:38 -0700 (PDT) Message-ID: <51DF2B64.5010508@gmail.com> Date: Fri, 12 Jul 2013 00:02:12 +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> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Il 7/11/2013 10:51 PM, Enrico Ferrero ha scritto: > Hi, > > Thanks for your help, I'll try to make things clearer. > > I have a full installation of Cygwin, including R version 2.15.1, > running on my Windows XP box at work. > Bioconductor [1] is a a collection of packages for computational > biologists that is installed by compiling its packages within the R > environment. > To install the base packages (and reproduce what I believe is a bug), > one just has to type at the R prompt: > >> source("http://bioconductor.org/biocLite.R") >> biocLite() as you are not using R-3.x the last should be biocLite(NULL) > > During the compilation of the IRanges package [2], I get the following error: > >> In file included from IntervalTree.c:3:0: >> common.h:59:24: fatal error: mingw/math.h: No such file or directory >> compilation terminated. >> /usr/lib/R/etc/Makeconf:121: recipe for target `IntervalTree.o' failed >> make: *** [IntervalTree.o] Error 1 >> ERROR: compilation failed for package =91IRanges=92 > > So, apparently, R needs the math.h library to compile IRanges but > can't find it for some reason. likely the package is broken and incorrectly identify cygwin for mingw. > As far as I understand, in Cygwin, math.h is provided by the > mingw-runtime package, part of the MinGW suite [3]. > According to this page [4] on the Cygwin website, math.h is indeed > installed by the mingw-runtime package, so I'm trying to figure out > why R can't access it. Maybe it's a path or symbolic links-related > problem? Maybe it has to do with the recently mentioned issues > affecting MinGW packages in Cygwin [5]? wrong, cygwin have its own math.h $ cygcheck -f /usr/include/math.h cygwin-1.7.20-1 > > Any help is very appreciated, thank you. I am building biocLite, it will take some time... > > [1] http://www.bioconductor.org > [2] http://www.bioconductor.org/packages/2.12/bioc/html/IRanges.html > [3] http://www.mingw.org/ > [4] http://cygwin.com/cgi-bin2/package-cat.cgi?file=mingw-runtime%2Fmingw-runtime-3.18-3&grep=math.h > [5] http://cygwin.com/ml/cygwin/2013-07/msg00196.html > 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