This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mingw/math.h not found while compiling R packages


Hi Marco,

Thanks a lot for your help. I downloaded your patched package and it
compiles without any issues.

Since the bug is in Bioconductor and not Cygwin at the end of the day,
it would probably be a good idea to file a bug report there.

If you're OK with it, I can CC you and link to your patch, just let me know.

Again, thank you!
Best,

Enrico


On 12 July 2013 04:48, marco atzeri <marco.atzeri@gmail.com> wrote:
> 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
>

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]