Re: [Rd] error installing gtools (PR#13168)

From: Martyn Plummer <plummer_at_iarc.fr>
Date: Wed, 15 Oct 2008 18:55:03 +0200

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 Received on Wed 15 Oct 2008 - 17:07:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 15 Oct 2008 - 19:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive