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
On 21 September 2009 at 20:42, Paul Johnson wrote: | 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? I use an older Nvidia NVS280 card to drive a dual-display setup. For a few years now, I have simply relied on Ubuntu to 'Do the Right Thing' -- new kernel packages automagically re-build kernel modules etc pp. Works pretty well -- and with Ubuntu 9,04 I even got OpenGL on both displays so even Google Earth works. As does 'library(rgl); demo(rgl)'. But that won't help you if you have issues with your card.... | Here's the failure of the rgl install | | > install.packages("rgl") What is wrong with "sudo apt-get install r-cran-rgl" ? I have mainted rgl inside Debian / Ubuntu for a few years just because keeping track of OpenGL etc headers is tricky. For what it is worth, the package has these Build-Depends: Build-Depends: debhelper (>= 5.0.0), r-base-dev (>= 2.9.2), cdbs, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libpng12-dev, libx11-dev, libxt-dev, x11proto-core-dev so if you satisfy these you should be able to build the package ... as that is what the autobuilders do. FWIW my Nvidia packages are edd at joe:~$ COLUMNS=78 dpkg -l | grep -i nvidia | grep "^ii" ii nvidia-173-ker 173.14.16-0ubu NVIDIA binary kernel module source ii nvidia-173-mod 173.14.16-0ubu Modaliases for the NVIDIA binary X.Org drive ii nvidia-177-mod 177.82-0ubuntu Modaliases for the NVIDIA binary X.Org drive ii nvidia-180-lib 180.44-0ubuntu Video Decode and Presentation API for Unix ii nvidia-180-mod 180.44-0ubuntu Modaliases for the NVIDIA binary X.Org drive ii nvidia-71-moda 71.86.08-0ubun Modaliases for the NVIDIA binary X.Org drive ii nvidia-96-moda 96.43.10-0ubun Modaliases for the NVIDIA binary X.Org drive ii nvidia-common 0.2.11 Find obsolete NVIDIA drivers ii nvidia-glx-173 173.14.16-0ubu NVIDIA binary Xorg driver ii nvidia-kernel- 96.43.05-0ubun NVIDIA binary kernel module for Linux 2.6.27 ii nvidia-kernel- 20080825+1ubun NVIDIA binary kernel module common files ii nvidia-setting 180.25-0ubuntu Tool of configuring the NVIDIA graphics driv edd at joe:~$ Dirk -- Three out of two people have difficulties with fractions.