From ebihallo at gmail.com  Wed Oct 15 15:30:04 2008
From: ebihallo at gmail.com (ebihallo at gmail.com)
Date: Wed, 15 Oct 2008 15:30:04 +0200 (CEST)
Subject: [Rd] error installing gtools (PR#13168)
Message-ID: <20081015133004.62C22282EF48@mail.pubhealth.ku.dk>

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



[Rd] error installing gtools (PR#13168)
ebihallo at gmail.com