This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mingw/math.h not found while compiling R packages
- From: marco atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Jul 2013 05:48:04 +0200
- 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>
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