[R] X11 not being detected whilst installing "rgl" package

Duncan Murdoch murdoch at stats.uwo.ca
Fri Dec 12 02:23:55 CET 2008


On 11/12/2008 7:23 PM, ekwaters wrote:
> Any ideas? I certainly have X11, I have tried copying it into other
> directories. At present it is in /etc/X11.

You probably don't have the development package for X, with headers, 
etc.  rgl uses the standard autoconf search for the headers.

Duncan Murdoch

> This is my error message.
> 
> /home/user> R CMD INSTALL -l [/usr/local/R/site-library]
> rgl_0.81.orig.tar.gz
> * Installing *source* package 'rgl' ...
> checking for gcc... gcc -std=gnu99
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc -std=gnu99 accepts -g... yes
> checking for gcc -std=gnu99 option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -std=gnu99 -E
> checking for gcc... (cached) gcc -std=gnu99
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc -std=gnu99 accepts -g... (cached) yes
> checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed
> checking for libpng-config... yes
> configure: using libpng-config
> configure: using libpng dynamic linkage
> checking for X... no
> configure: error: X11 not found but required, configure aborted.
> ERROR: configuration failed for package 'rgl'
>



More information about the R-help mailing list