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
error installing gtools (PR#13168)
3 messages · ebihallo at gmail.com, Martyn Plummer, Brian Ripley
Ebi, You need to install the R-devel RPM, which has the header files. If this is a bug (which it arguably is) it is a problem with the Fedora distribution, not with R itself. Martyn
On Wed, 2008-10-15 at 15:30 +0200, ebihallo at gmail.com wrote:
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
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}
R 2.8.0 at least will tell you that that you may need R-devel.rpm. My view is that this a Fedora bug.
On Wed, 15 Oct 2008, Martyn Plummer wrote:
Ebi, You need to install the R-devel RPM, which has the header files. If this is a bug (which it arguably is) it is a problem with the Fedora distribution, not with R itself. Martyn On Wed, 2008-10-15 at 15:30 +0200, ebihallo at gmail.com wrote:
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
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595