I am getting the following error after a fresh install of Ubuntu 20 LTS and Rstudio with R4.0.3 on a Dell laptop. It is
occurring when I try to install the sass package and other packages as well.
Normally I find that I can apt installrelevent libraries however, not a full linux user so this one has me stumped.
n file included from src/ast.hpp:19:0,
from src/ast.cpp:2:
src/util.hpp: In function 'T Sass::absmod(const T&, const T&)':
src/util.hpp:28:11: error: 'fmod' is not a member of 'std'
T m = std::fmod(n, r);
^
src/util.hpp:28:11: note: suggested alternative:
In file included from /usr/include/features.h:461:0,
from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/include/c++/5.5.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39,
from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/include/c++/5.5.0/x86_64-unknown-linux-gnu/bits/c++config.h:489,
from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/include/c++/5.5.0/string:38,
from src/sass.hpp:55,
from src/ast.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: note: 'fmod'
__MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y));
^
make[1]: *** [Makefile:219: src/ast.o] Error 1
make[1]: Leaving directory '/tmp/RtmpSByyzk/R.INSTALL386b553c4ce/sass/src/libsass'
make: *** [Makevars:7: libsass/lib/libsass.a] Error 2
ERROR: compilation failed for package ‘sass’
I am getting the following error after a fresh install of Ubuntu 20 LTS and Rstudio with R4.0.3 on a Dell laptop. It is occurring when I try to install the sass package and other packages as well. Normally I find that I can
apt install
relevent libraries however, not a full linux user so this one has me stumped.