SCM

[#6553] rgl does not install

View Trackers | Bugs | Download .csv | Monitor

Date:
2018-01-13 15:28
Priority:
3
State:
Open
Submitted by:
Robert van den Berg (sallin)
Assigned to:
Nobody (None)
Hardware:
PC
Product:
None
Operating System:
Linux
Component:
None
Version:
v1.0
Severity:
critical
Resolution:
Invalid
 
URL:
Summary:
rgl does not install

Detailed description
I have the following R version and platform (Debian):
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 4.3
year 2017
month 11
day 30
svn rev 73796
language R
version.string R version 3.4.3 (2017-11-30)
nickname Kite-Eating Tree

When running install.packages('rgl') I receive the following output:
-----------------------------------------------------------------------------------------
> install.packages('rgl')
Installing package into ‘/home/robert/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://rweb.crmda.ku.edu/cran/src/contrib/rgl_0.99.9.tar.gz'
Content type 'application/x-gzip' length 3052337 bytes (2.9 MB)
==================================================
downloaded 2.9 MB

* installing *source* package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... 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/robert/R/x86_64-pc-linux-gnu-library/3.4/rgl’

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

I could not run the bug.reports command as it could not find the function bug.reports. I tried to install it, but that didn't work. If you have advice on how to run or install it, then I'm happy to try again.

I am able to install other packages.

Followup

Message
Date: 2018-01-13 16:18
Sender: Robert van den Berg

Great, that solved the problem. Thanks a lot for your fast response.
Date: 2018-01-13 16:14
Sender: Duncan Murdoch

You are missing the OpenGL development files. They are needed by rgl but not by other packages. I believe Debian can install rgl as package "r-cran-rgl". This might not be the latest version, but it should pull in the dependencies needed by 0.99.9.

Attached Files:

Changes:

Field Old Value Date By
ResolutionNone2018-01-13 16:14murdoch
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge