[R-sig-Debian] R packages "Demography installing Error In Ubuntu 10.04"

Johannes Ranke jranke at uni-bremen.de
Thu Mar 31 20:39:29 CEST 2011


Dear Ethan Chang,

it seems the problem starts with the installation of rgl:

> * installing *source* package ‘rgl’ ...
> checking for gcc... gcc
> 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 accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc 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... libraries , headers
> checking GL/gl.h usability... no
> checking GL/gl.h presence... no
> checking for GL/gl.h... no
> checking GL/glu.h usability... no
> checking GL/glu.h presence... no
> checking for GL/glu.h... no
> configure: error: missing required header GL/gl.h
> ERROR: configuration failed for package ‘rgl’
> * removing ‘/home/zzk/R/i686-pc-linux-gnu-library/2.12/rgl’

You can try installing the Ubuntu package of rgl via

	sudo aptitude install r-cran-rgl

and try installing the demography package again.

Johannes



More information about the R-SIG-Debian mailing list