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:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=pzFfZ0mZrqjfoysG JUXAiuNfpQq1s34kGC7dvn5WEeheEMDfXxuN0Ex/iPr0IbzdR78zxNIFLf75Dtcx u8eux2YmbAql4n54cUUNnDip2Yp4Sh8PI2qmd3bVxbn8/W+xJa5H/f9oto9ubDj/ FtTau2yt6G9rhmbfBIQnQKq3bDI= 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:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=lKxakrQDZfz5UWgeMn32xC bXDVc=; b=pqhvDMR4DObIFhXBJWXW/jCNlJ8JGtk9karQLsiVMt7bgz6shRLKYZ /2CmhfPUMPyW3wCG0XuE4jID0JrsWc97uuP6JUY2EVgldV4T5bI87ytlnbIT7n4l 5+k+Y4Kom+Tt7SVyX+KidYtW5jia0w4i0aD11o3EwbIlgOjh9JvJs= 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=2.0 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1 Message-id: <51DC2ECD.2060208@cygwin.com> Date: Tue, 09 Jul 2013 11:39:57 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: mingw/math.h not found while compiling R packages References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 7/9/2013 6:12 AM, Enrico Ferrero wrote: > Hi, > > I have R installed through Cygwin ports, and I am trying to compile some > external R packages (from Bioconductor). > > When doing so, I get the following error while building the IRanges > Bioconductor package: > >> 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 > > As far as I understand, this is an issue related to paths/links on Cygwin, > as math.h is indeed installed by the mingw-runtime package, but R > apparently can't find it. > > If you want to reproduce the issue just install R through the Cygwin ports, > open an R session and write: > >> source("http://bioconductor.org/biocLite.R") >> biocLite() > > which will perform a standard Bioconductor installation. > > Can anybody please help me to find a fix or workaround for this? > Any help is really appreciated. If you are using the R from Cygwin Ports, it must be an old package since R is no longer offered there. I suggest you install the R package from the Cygwin distribution instead and retry. Since this list supports the Cygwin distribution only, this would put your issue firmly on-topic for this list if you can still reproduce it. For Cygwin Ports packages, they are supported through the Ports site: If you have a package from that site and have questions, problems, or comments, it's best to consult the mailing list there. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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