[Rd] error installing gtools (PR#13168)
Martyn Plummer
plummer at iarc.fr
Wed Oct 15 18:55:03 CEST 2008
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}}
More information about the R-devel
mailing list