Skip to content

R4.3 and RandomFieldsUtils_0.6.6 failed to install #14

@matt-shenton

Description

@matt-shenton

Hi there
on R4.3.1 on MacOS ventura 13.6
.. OK now I realise there is a message about C86 and x64, so new mac architecture unsupported. OK

Also on Ubuntu 20.04 R 4.3.2 it fails as below.
Many thanks
Matt

g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -fopenmp -msse2 -mssse3 -mavx2 -fpic -g -O2 -fdebug-prefix-map=/build/r-base-DdVjkr/r-base-4.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c options.cc -o options.o
In file included from options.cc:23:
Basic_utils.h:123:7: error: ‘INT_MIN’ was not declared in this scope
123 | Nan=INT_MIN
| ^~~~~~~
In file included from options.cc:23:
Basic_utils.h:34:1: note: ‘INT_MIN’ is defined in header ‘’; did you forget to ‘#include ’?
33 | #include "AutoRandomFieldsUtils.h"
+++ |+#include
34 |
make: *** [/usr/lib/R/etc/Makeconf:198: options.o] Error 1
ERROR: compilation failed for package ‘RandomFieldsUtils’

  • removing ‘/home/mshenton/analysis/LDplot/renv/library/R-4.3/x86_64-pc-linux-gnu/RandomFieldsUtils’
    Warning message:
    In utils::install.packages("./RandomFieldsUtils_0.6.6.tar.gz", type = "source", :
    installation of package ‘./RandomFieldsUtils_0.6.6.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions