I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error: trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz' Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) ================================================== downloaded 2.3 MB * installing *source* package 'rgl' ... ** package 'rgl' successfully unpacked and MD5 sums checked checking for gcc... gcc -m64 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 -m64 accepts -g... yes checking for gcc -m64 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -m64 -E checking for gcc... (cached) gcc -m64 checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -m64 accepts -g... (cached) yes checking for gcc -m64 option to accept ISO C89... (cached) none needed checking whether __attribute__((visibility())) is supported... yes checking whether gcc -m64 accepts -fvisibility... yes checking whether accepts -fvisibility... no 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/lib64/R/library/rgl' The downloaded source packages are in '/tmp/Rtmp0VF17F/downloaded_packages' Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("rgl") : installation of package 'rgl' had non-zero exit status As you can see, it finds the GL headers, but fails on glEnd and then complains it cannot find the GL libraries. I have the mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel packages installed but I still get the errors. Any thoughts? Thank you in advance Michael Weiner =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}}
installing rgl
7 messages · David Winsemius, Duncan Murdoch, Weiner, Michael +1 more
On Jan 11, 2017, at 10:54 AM, Weiner, Michael <weinerm at ccf.org> wrote: I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error:
I thin this is more appropriately directed to: R-SIG-Fedora https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
David. > > trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz' > Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) > ================================================== > downloaded 2.3 MB > > * installing *source* package 'rgl' ... > ** package 'rgl' successfully unpacked and MD5 sums checked > checking for gcc... gcc -m64 > 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 -m64 accepts -g... yes > checking for gcc -m64 option to accept ISO C89... none needed > checking how to run the C preprocessor... gcc -m64 -E > checking for gcc... (cached) gcc -m64 > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc -m64 accepts -g... (cached) yes > checking for gcc -m64 option to accept ISO C89... (cached) none needed > checking whether __attribute__((visibility())) is supported... yes > checking whether gcc -m64 accepts -fvisibility... yes > checking whether accepts -fvisibility... no > 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/lib64/R/library/rgl' > > The downloaded source packages are in > '/tmp/Rtmp0VF17F/downloaded_packages' > Updating HTML index of packages in '.Library' > Making 'packages.html' ... done > Warning message: > In install.packages("rgl") : > installation of package 'rgl' had non-zero exit status > > As you can see, it finds the GL headers, but fails on glEnd and then complains it cannot find the GL libraries. I have the mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel packages installed but I still get the errors. > > Any thoughts? > > Thank you in advance > Michael Weiner > > =================================== > > > Please consider the environment before printing this e-mail > > Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). > Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. > > > Confidentiality Note: This message is intended for use ...{{dropped:18}} > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA
Thank you David
On Jan 11, 2017, at 2:41 PM, David Winsemius <dwinsemius at comcast.net> wrote:
On Jan 11, 2017, at 10:54 AM, Weiner, Michael <weinerm at ccf.org> wrote: I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error:
I thin this is more appropriately directed to: R-SIG-Fedora
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora -- David. trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz' Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) ================================================== downloaded 2.3 MB * installing *source* package 'rgl' ... ** package 'rgl' successfully unpacked and MD5 sums checked checking for gcc... gcc -m64 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 -m64 accepts -g... yes checking for gcc -m64 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -m64 -E checking for gcc... (cached) gcc -m64 checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -m64 accepts -g... (cached) yes checking for gcc -m64 option to accept ISO C89... (cached) none needed checking whether __attribute__((visibility())) is supported... yes checking whether gcc -m64 accepts -fvisibility... yes checking whether accepts -fvisibility... no 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/lib64/R/library/rgl' The downloaded source packages are in '/tmp/Rtmp0VF17F/downloaded_packages' Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("rgl") : installation of package 'rgl' had non-zero exit status As you can see, it finds the GL headers, but fails on glEnd and then complains it cannot find the GL libraries. I have the mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel packages installed but I still get the errors. Any thoughts? Thank you in advance Michael Weiner =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}} ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA
=================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}}
On this page http://forums.fedoraforum.org/showthread.php?t=294543 eventually it turned out that a similar problem was fixed by yum install libpng-devel For other readers, someone else posted that on OpenSUSE, this was the magic install: sudo zypper in libpng16-devel Duncan Murdoch
On 11/01/2017 1:54 PM, Weiner, Michael wrote:
I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error: trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz' Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) ================================================== downloaded 2.3 MB * installing *source* package 'rgl' ... ** package 'rgl' successfully unpacked and MD5 sums checked checking for gcc... gcc -m64 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 -m64 accepts -g... yes checking for gcc -m64 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -m64 -E checking for gcc... (cached) gcc -m64 checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -m64 accepts -g... (cached) yes checking for gcc -m64 option to accept ISO C89... (cached) none needed checking whether __attribute__((visibility())) is supported... yes checking whether gcc -m64 accepts -fvisibility... yes checking whether accepts -fvisibility... no 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/lib64/R/library/rgl' The downloaded source packages are in '/tmp/Rtmp0VF17F/downloaded_packages' Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("rgl") : installation of package 'rgl' had non-zero exit status As you can see, it finds the GL headers, but fails on glEnd and then complains it cannot find the GL libraries. I have the mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel packages installed but I still get the errors. Any thoughts? Thank you in advance Michael Weiner =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}}
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
-----Original Message----- From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] Sent: Wednesday, January 11, 2017 2:55 PM To: Weiner, Michael <weinerm at ccf.org>; r-help at r-project.org Subject: Re: [R] installing rgl
On this page http://forums.fedoraforum.org/showthread.php?t=294543 eventually it turned out that a similar problem was fixed by yum install libpng-devel
Thank you for your response Duncan, unfortunately that didn't help, though I do see in config.log: configure:4429: checking for glEnd in -lGL configure:4454: gcc -o conftest -g -O2 -DHAVE_PNG_H -I/usr/include/libpng16 conftest.c -lGL -L/usr/lib64 -lpng16 -lX11 >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/bin/ld: cannot find -lGL So something else is up Michael =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}}
On 11/01/2017 3:03 PM, Weiner, Michael wrote:
-----Original Message----- From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] Sent: Wednesday, January 11, 2017 2:55 PM To: Weiner, Michael <weinerm at ccf.org>; r-help at r-project.org Subject: Re: [R] installing rgl
On this page http://forums.fedoraforum.org/showthread.php?t=294543 eventually it turned out that a similar problem was fixed by yum install libpng-devel
Thank you for your response Duncan, unfortunately that didn't help, though I do see in config.log: configure:4429: checking for glEnd in -lGL configure:4454: gcc -o conftest -g -O2 -DHAVE_PNG_H -I/usr/include/libpng16 conftest.c -lGL -L/usr/lib64 -lpng16 -lX11 >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/bin/ld: cannot find -lGL So something else is up
I don't know Fedora at all so I don't know what you'd need to do this, but I'd suggest asking to uninstall and reinstall mesa-libGL-devel and mesa-libGLU-devel (and maybe libpng-devel). Duncan Murdoch
Michael =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}}
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
I had this problem this week in Linux Mint (debian/ubuntu based) and needed to install some libgl* and libglu* packages. A search for "rgl glu.h" and "rgl gl.h" found the appropriate suggestions, though I probably installed a couple of unnecessary packages too. JN
On 2017-01-11 03:14 PM, Duncan Murdoch wrote:
On 11/01/2017 3:03 PM, Weiner, Michael wrote:
-----Original Message----- From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] Sent: Wednesday, January 11, 2017 2:55 PM To: Weiner, Michael <weinerm at ccf.org>; r-help at r-project.org Subject: Re: [R] installing rgl
On this page http://forums.fedoraforum.org/showthread.php?t=294543 eventually it turned out that a similar problem was fixed by yum install libpng-devel
Thank you for your response Duncan, unfortunately that didn't help, though I do see in config.log: configure:4429: checking for glEnd in -lGL configure:4454: gcc -o conftest -g -O2 -DHAVE_PNG_H -I/usr/include/libpng16 conftest.c -lGL -L/usr/lib64 -lpng16 -lX11 >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/bin/ld: cannot find -lGL So something else is up
I don't know Fedora at all so I don't know what you'd need to do this, but I'd suggest asking to uninstall and reinstall mesa-libGL-devel and mesa-libGLU-devel (and maybe libpng-devel). Duncan Murdoch
Michael =================================== Please consider the environment before printing this e-mail Cleveland Clinic is ranked as one of the top hospitals in America by U.S.News & World Report (2015). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use ...{{dropped:18}}
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.