Error X11 Not Found
Contents |
Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Pkg rgl: installation fails because of fatal error x11 xlib h file not found x11 Hello Im trying to install package rgl in a freshly installed
X11 Error Log
Ubuntu 8.04 system. I have a problem (actually is has been reported three times on the R-list
Autolaunch Error X11 Initialization Failed
but the answers were too complicated for me) when installing: configure: using libpng dynamic linkage checking for X... no configure: error: X11 not found but required, configure aborted. ERROR:
X11 Not Found But Required
configuration failed for package 'rgl' ** Removing '/usr/local/lib/R/site-library/rgl' The downloaded packages are in /tmp/RtmpcnTzdW/downloaded_packages Warning message: In install.packages("rgl", dep = TRUE) : installation of package 'rgl' had non-zero exit status I see two potential explanations: -to use rgl I should install some OpenGl package... is it right? which one then? -rgl only needs x11 x11 not found but required configure aborted but does not find it. I see actually that there is no x11 in /usr/ but X11R6 does the problem come from that? PS: Im cross posting on R and rgl list Thank you for your help! ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code. Duncan Murdoch Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Pkg rgl: installation fails because of x11 Matthieu Stigler wrote: > Hello > > Im trying to install package rgl in a freshly installed Ubuntu 8.04 > system. I have a problem (actually is has been reported three times on > the R-list but the answers were too complicated for me) when > installing: > > configure: using libpng dynamic linkage > checking for X... no > configure: error: X11 not found but required, configure aborted. > ERROR: configuration failed for package 'rgl' > ** Removing '/usr/local/lib/R/site-library/rgl' > > The downloaded packages are in > /tmp/RtmpcnTzdW/downloaded_packages > Warn
~ http://r.789695.n4.nabble.com/Pkg-rgl-installation-fails-because-of-x11-td871465.html David's Notes on coding, software and computer science Post How to fix R package error X11 not found http://csmojo.com/posts/how-to-fix-r-package-error-x11-not-found-but-required.html but required Category: R Tag: R Errors By: David On: Sat 09 July 2016 Pageviews: 12 Encountered configure: error: X11 not found but required while trying to install R rgl package, managed to fix it with: apt-get install xorg-dev © csmojo.com Powered by Pelican Github Pages w3.css Font Awesome Google Analytics pygments
Jobs Blogging Wednesday, September 30, 2015 3D Data visualization using R - configure: error: X11 not found but required. missing required header GL/gl.h 3D Data visualization using R previous post - Running SQL Query on http://solaimurugan.blogspot.com/2015/09/3d-data-visualization-using-r-configure.html Hadoop : Apache Hive Alternatives 3D Data Visualization using R : Using the rgl package, http://lists.neoscientists.org/pipermail/rgl-general/2012-October/000131.html rglplot plots a graph in 3D. The plot can be zoomed, rotated, shifted, etc. but the coordinates of the vertices is fixed. Installing RGL package in R install.packages("rgl") Error configure: using libpng-config configure: using libpng dynamic linkage checking for X... no configure: error: X11 not found but required, configure aborted. ERROR: configuration failed not found for package ‘rgl' * removing ‘/home/bdalab/R/x86_64-pc-linux-gnu-library/3.1/rgl' Warning in install.packages : Solution install sudo apt-get install xorg sudo apt-get install libx11-dev then try again. Error In my case again I got configure: error: missing required header GL/gl.h Solution install sudo apt-get install libglu1-mesa-dev then try again. Next : RHadoop Posted by solaimurugan v at 3:44 AM Email ThisBlogThis!Share to TwitterShare to x11 not found FacebookShare to Pinterest Labels: R, visualization Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Labels Big Data (27) blogging (3) data analytics (2) data science (6) Deep Learning (1) Hadoop (29) Hadoop Eco System (27) hdfsCommands (4) Hive (5) IssueSolution (4) jobs (1) links (1) Machine Learning (2) mahout (2) MapReduce (1) MongoDB (5) MySQL (4) PlpgSQL (8) postgres (6) PostgreSQL (53) R (15) RHadoop (2) search keywords (1) spark (3) twitter (2) visualization (6) weka (1) About Me solaimurugan v View my complete profile twitter Follow @solaimuruganv Followers Blog Archive ► 2016 (15) ► October (2) ► April (1) ► March (6) ► February (1) ► January (5) ▼ 2015 (30) ► December (3) ► November (5) ▼ September (2) 3D Data visualization using R - configure: error: ... Running SQL Query on Hadoop : Apache Hive Alternat... ► August (2) ► July (1) ► May (3) ► April (10) ► March (2) ► February (1) ► January (1) ► 2014 (22) ► December (2) ► November (1) ► October (2) ► August (1) ► July (1) ► June (8) ► May (6) ► April (1) ► 2013 (24) ► November (2) ► October (6) ► September (4) ► August (5) ► July (3) ► June
sorted by: [ date ] [ thread ] [ subject ] [ author ] All - problem solved. was missing installation of one of the openGL-related installations, and found info needed in the README. I needed to do the following before installing rgl: yum install mesa-libGL-devel mesa-libGLU-devel libpng-devel The catch was that when attempting to install rgl via install.packages('rgl') from CRAN, the installation script deleted all the installation files upon fail, so there was no README left to look at! I see this same error in may google hits for "rgl X11 not found but required", and no solutions, so this seems to be a rather common problem. Perhaps the install script should leave the rgl files, or at least the informative files such as README available after abort? ian On Oct 12, 2012, at 9:00 AM, Scott-Fleming, Ian wrote: All - I'm sure there are many postings about this in the past...just can't find them, so forgive me if I'm reposting an already-solved issue. When attempting to install rgl in R on Redhat Linux 6.2, R v. 2.15.1, I get the following message: checking for png_read_update_info in -lpng... no configure: libpng header and lib found configure: using libpng dynamic linkage checking for X... no configure: error: X11 not found but required, configure aborted. ERROR: configuration failed for package ‘rgl' * removing ‘/usr/local/lib64/R/site-library/rgl' The downloaded source packages are in ‘/tmp/RtmpX9fqh2/downloaded_packages' Warning message: In install.packages("rgl") : installation of package ‘rgl' had non-zero exit status > I have rebuilt and reinstalled R with X11 support, but still get the same error. I configured R with R_PAPERSIZE=letter R_RD4PDF='times,hyper' ./configure --with-tcltk --with-system-zlib --with-system-bzlib --enable-R-shlib --with-x followed by make and make install. (I completely removed the previous installation of R with both make uninstall followed by rm -rf /usr/local/lib64/R ) here's the output at the end of configure run, showing X11 support: R is now configured for x86_64-unknown-linux-gnu Source directory: . Installation directory: /usr/local C compiler: gcc -std=gnu99 -g -O2 Fortran 77 compiler: gfortran -g -O2 C++ compiler: g++ -g -O2 Fortran 90/95 compiler: gfortran -g -O2 Obj-C compiler: Interfaces supported: X11, tcltk External libraries: readline Additional capabilities: NLS Options enabled: s