[Rd] error installing gtools (PR#13168)

ebihallo at gmail.com ebihallo at gmail.com
Wed Oct 15 15:30:04 CEST 2008


Full_Name: Ebi Hal
Version: R-2.7.2-1
OS: Fedora core 9
Submission from: (NULL) (129.215.170.238)


I tried to install gplots by running
R> install.packages("gplots")
but the process failed while installing "gtools" with the following error
message:

* Installing to library '/usr/lib64/R/library'
* Installing *source* package 'gtools' ...
** libs
gcc -m64 -std=gnu99 -I/usr/include/R  -I/usr/local/include    -fpic  -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -c setTCPNoDelay.c -o
setTCPNoDelay.o
setTCPNoDelay.c:1:15: error: R.h: No such file or directory
setTCPNoDelay.c:2:24: error: Rinternals.h: No such file or directory
setTCPNoDelay.c: In function ‘checkStatus’:
setTCPNoDelay.c:66: warning: implicit declaration of function ‘strncpy’
setTCPNoDelay.c:66: warning: incompatible implicit declaration of built-in
function ‘strncpy’
setTCPNoDelay.c:72: warning: implicit declaration of function ‘strerror’
setTCPNoDelay.c:72: warning: passing argument 2 of ‘strncpy’ makes pointer from
integer without a cast
make: *** [setTCPNoDelay.o] Error 1
ERROR: compilation failed for package 'gtools'
** Removing '/usr/lib64/R/library/gtools'

Indeed there are no such files as R.h and Rinternals.h

Any idea how can I solve this problem?

Thanks a lot,
Ebi



More information about the R-devel mailing list