[R-sig-Debian] rgl, openmesa, nvidia. Oh my!

Paul Johnson pauljohn32 at gmail.com
Tue Sep 22 03:42:56 CEST 2009


I've caused a new problem for myself.  I wonder if you have seen it.
On Ubuntu 9.04 I had a lot of hangs with the nvidia packages and so I
updated to the 185 edition on this website:

https://launchpad.net/~nvidia-vdpau/+archive/ppa

The video drivers are much better!  However, I notice now I don't have
all of the working pieces of the X11/openGL development toolkit in
order to compile R packages like "rgl".  I'm pretty uninformed about
Ubuntu: exactly what parts are supposed to be supplied by X11 and Mesa
versus the nvidia packages.  Maybe  you have a suggestion?

Here's the failure of the rgl install

> install.packages("rgl")
Warning in install.packages("rgl") :
  argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://mira.sunsite.utk.edu/CRAN/src/contrib/rgl_0.87.tar.gz'
Content type 'application/x-gzip' length 1674116 bytes (1.6 Mb)
opened URL
==================================================
downloaded 1.6 Mb

* 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... libraries , headers
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for glEnd in -lGL... no
configure: error: missing required library GL
ERROR: configuration failed for package ‘rgl’
* Removing ‘/usr/local/lib/R/site-library/rgl’
* Restoring previous ‘/usr/local/lib/R/site-library/rgl’

The downloaded packages are in
        ‘/tmp/RtmpjSKPYC/downloaded_packages’
Warning message:
In install.packages("rgl") :
  installation of package 'rgl' had non-zero exit status

==============================

Here are the relevant packages, as far as I know.

ii  nvidia-glx-185                             185.18.36-0ubuntu1~ppa1
                             NVIDIA binary Xorg driver
ii  nvidia-glx-185-dev                         185.18.36-0ubuntu1~ppa1
                             NVIDIA binary Xorg driver development
files
rc  nvidia-kernel-common                       20051028+1+nmu2ubuntu2
                             NVIDIA binary kernel module common files

ii  nvidia-185-kernel-source                   185.18.36-0ubuntu1~ppa1
                             NVIDIA binary kernel module source
ii  nvidia-185-libvdpau                        185.18.36-0ubuntu1~ppa1
                             Video Decode and Presentation API for
Unix
ii  nvidia-185-libvdpau-dev                    185.18.36-0ubuntu1~ppa1
                             Video Decode and Presentation API for
Unix development
ii  nvidia-185-modaliases                      185.18.36-0ubuntu1~ppa1
                             Modaliases for the NVIDIA binary X.Org
driver


ii  libgl1-mesa-dri                            7.4-0ubuntu3.2
                             A free implementation of the OpenGL API
-- DRI modules
ii  libgl1-mesa-glx                            7.4-0ubuntu3.2
                             A free implementation of the OpenGL API
-- GLX runtime
ii  libglu1-mesa                               7.4-0ubuntu3.2
                             The OpenGL utility library (GLU)
ii  libglu1-mesa-dev                           7.4-0ubuntu3.2
                             The OpenGL utility library -- development
files
ii  libglw1-mesa                               7.4-0ubuntu2
                             A free implementation of the OpenGL API
-- runtime
ii  mesa-utils                                 7.4-0ubuntu3.2
                             Miscellaneous Mesa GL utilities
pauljohn at pols110:~$


ii  libx11-6                                   2:1.1.99.2-1ubuntu2
                             X11 client-side library
ii  libx11-data                                2:1.1.99.2-1ubuntu2
                             X11 client-side library
ii  libx11-dev                                 2:1.1.99.2-1ubuntu2
                             X11 client-side library (development
headers)
ii  libx11-xcb-dev                             2:1.1.99.2-1ubuntu2
                             Xlib/XCB interface library (development
headers)
ii  libx11-xcb1                                2:1.1.99.2-1ubuntu2
                             Xlib/XCB interface library




-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas



More information about the R-SIG-Debian mailing list