You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install ade4_1.7-10.tar.gz and seeing below error,
R CMD INSTALL ade4_1.7-10.tar.gz
* installing to library ‘/opt/R/3.4.3/lib/R/library’
* installing *source* package ‘ade4’ ...
** package ‘ade4’ successfully unpacked and MD5 sums checked
** libs
gcc -I/opt/R/3.4.3/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -c adesub.c -o adesub.o
In file included from /usr/include/bits/posix1_lim.h:161,
from /usr/include/limits.h:183,
from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:194,
from /usr/lib/gcc/x86_64-redhat-linux/8/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:34,
from /opt/R/3.4.3/lib/R/include/R.h:57,
from adesub.h:5,
from adesub.c:5:
/usr/include/bits/local_lim.h:87:1: error: unknown type name ‘define’
define TTY_NAME_MAX 256
^~~~~~
/usr/include/bits/local_lim.h:87:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before numeric constant
define TTY_NAME_MAX 256
^~~
make: *** [/opt/R/3.4.3/lib/R/etc/Makeconf:159: adesub.o] Error 1
ERROR: compilation failed for package ‘ade4’
* removing ‘/opt/R/3.4.3/lib/R/library/ade4’
Could someone please advise on this, I know its a old version of the package but that is our requirement for now and also I did try to install the newer version but it resulted in the same error.
Looks like there is a problem in your dev setup.
Please check R setup and try the preferred install procedure given here: https://github.com/sdray/ade4
I am trying to install ade4_1.7-10.tar.gz and seeing below error,
Could someone please advise on this, I know its a old version of the package but that is our requirement for now and also I did try to install the newer version but it resulted in the same error.
Steps I have tried to resolve the issue
This is a RHEL 8 environment and gcc version it has is 8.3.1 20191121 (Red Hat 8.3.1-5)
The text was updated successfully, but these errors were encountered: