Hello! Interesting thing is that I cannot install rgl. It reports: 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? I am pretty sure that my X11 is fine. Does anyone know why I got this error message? Best, PM
Petar, Before we can answer your question, we need more information about your system. What version of R are you using? What version of Debian/Ubuntu? I was able to run rgl just fine on my Ubuntu jaunty 64bit with R 2.9. Michael Petar Milin wrote:> Hello! > Interesting thing is that I cannot install rgl. It reports: > 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? > > I am pretty sure that my X11 is fine. Does anyone know why I got this > error message? > > Best, > PM > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian-- Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College Station Road Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter
Thanks and sorry! I am using: R version 2.9.0 (2009-04-17), on Debian testing with apt-pinning for R base packages. Best, PM Michael Rutter wrote:> Petar, > > Before we can answer your question, we need more information about your > system. What version of R are you using? What version of > Debian/Ubuntu? I was able to run rgl just fine on my Ubuntu jaunty > 64bit with R 2.9. > > Michael > > Petar Milin wrote: >> Hello! >> Interesting thing is that I cannot install rgl. It reports: >> 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? >> >> I am pretty sure that my X11 is fine. Does anyone know why I got this >> error message? >> >> Best, >> PM >> >> _______________________________________________ >> R-SIG-Debian mailing list >> R-SIG-Debian at r-project.org >> https://stat.ethz.ch/mailman/listinfo/r-sig-debian >
No, no, sorry: I did read and tried, but no success, again. Failed at exactly the same spot. However, at least I have rgl via apt-get. PM Dirk Eddelbuettel wrote:> On 16 May 2009 at 14:04, Petar Milin wrote: > | Thanks, again! But can that be "messy" if I start installing via apt-get > | instead of using something like: > | install.packages() or > | R CMD INSTALL > > I already told you that this what not so. > > You also failed to read to the end of my mail for the second suggestion. > > Dirk > > | I installed via apt-get only r-base and r-base-dev, and everything else > | via R itself. > | > | Best, > | PM > | > | Dirk Eddelbuettel wrote: > | > On 16 May 2009 at 13:21, Petar Milin wrote: > | > | Thanks and sorry! > | > | I am using: R version 2.9.0 (2009-04-17), on Debian testing with > | > | apt-pinning for R base packages. > | > > | > Very well. So why don't you just do > | > > | > sudo apt-get install r-cran-rgl > | > > | > and use the pre-built binary. > | > > | > If you must rebuild from source, use > | > > | > sudo apt-get build-dep r-cran-rgl > | > > | > which gets you all required packages to then run install.packages("rgl") from > | > R. > | > > | > Hth, Dirk > | > >
Hello, again! Sorry for being tedious, that's because of having no experience enough, but I really want to learn. Please, let me know what I am doing wrong now; I did following: 1. apt-get install -t unstable r-cran-rgl 2. then, from R, tried to do install.packages("rgl"), but that failed for same reasons as before: checking for X... no configure: error: X11 not found but required, configure aborted. ERROR: configuration failed for package ?rgl? 3. then, I tried apt-get build-dep r-cran-rgl, and it went fine 4. finally, back to install.packages("rgl"), and now it failed for some other reasons: checking for GL/glu.h... yes checking for glEnd in -lGL... no configure: error: missing required library GL ERROR: configuration failed for package ?rgl? I think I did everything you said in your previous letters. Please, bear with me and let me learn and fix this. Thank you. Best, PM