RfastOfficial/Rfast

Alamalinux install issue

anusurendra opened this issue · 1 comments

Hi,

I am having an issue installing RFast. I am getting the following error:

In file included from ../inst/include/Rfast/templates.h:10,
                 from ../inst/include/Rfast/matrix.hpp:14,
                 from ../inst/include/Rfast.h:5,
                 from mn.h:4,
                 from Coeff.cpp:4:
../inst/include/Rfast/parallel.h:20:10: fatal error: execution: No such file or directory
 #include <execution>
          ^~~~~~~~~~~
compilation terminated.
make: *** [/usr/lib64/R/etc/Makeconf:204: Coeff.o] Error 1
ERROR: compilation failed for package ‘Rfast’
* removing ‘/usr/lib64/R/library/Rfast’
* restoring previous ‘/usr/lib64/R/library/Rfast’

The downloaded source packages are in
        ‘/tmp/RtmpzgMkSz/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: package(s) not installed when version(s) same as or greater than current; use
  `force = TRUE` to re-install: 'ChemmineR'
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package ‘Rfast’ had non-zero exit status

Desktop Information:

  • OS: Almalinux 8.7
  • R-Version[ 4.4.1]
  • Rfast-Version [2.1.0]
  • GCC-Version [8.5.0 20210514]

Any help would be appreciated.

Update gcc to a newer version and it will be ok.