Hi everyone I have been trying to build R in ubuntu 8.04 from its source code but am getting the following error. configure: error: --with-x=yes (default) and X11 headers/libs are not available Please help me and consider me a newbie in linux thanks in advance [[alternative HTML version deleted]]
On Sun, May 25, 2008 at 12:12:56PM -0600, Nitesh Agrawal wrote:> Hi everyone > I have been trying to build R in ubuntu 8.04 from its source code but am > getting the following error. > > configure: error: --with-x=yes (default) and X11 headers/libs are not > available > > Please help me and consider me a newbie in linuxWell, some kind folks are doing the work for you. So as mentioned in the R FAQ, why don't you use what the CRAN mirrors provide under bin/linux/ubuntu and just install the binary packages? Start here: http://cran.r-project.org/bin/linux/ubuntu/ or use your country mirror as e.g. cran.us.r-project.org, cran.ca.r-project.org, ... Dirk -- Three out of two people have difficulties with fractions.
Hi, Nitesh Agrawal wrote:> Hi everyone > I have been trying to build R in ubuntu 8.04 from its source code but am > getting the following error. > > configure: error: --with-x=yes (default) and X11 headers/libs are not > available >I am currently sitting in front of a Windows machine but I built R on my laptop at home running Ubuntu 8.04. So hopefully, I don't make a mistake. What I guess you have to do, is to install the xorg-dev package. You could do this by: sudo apt-get install xorg-dev in a terminal window. And then you can start again with ./configure and so on. Does this help? Roland
On 05/25/08 12:12, Nitesh Agrawal wrote:> Hi everyone > I have been trying to build R in ubuntu 8.04 from its source code but am > getting the following error. > > configure: error: --with-x=yes (default) and X11 headers/libs are not > available > > Please help me and consider me a newbie in linuxIs there a reason why you want to install from source? sudo aptitude install r-base should work, AFAIK, or, if you prefer the GUI, look for R in synaptic. You may have to add an extra repository first; I had to: http://promberger.info/linux/2007/09/04/installing-and-updating-r-with-aptitude/ I'm currently using 7.10 so not 100 percent sure if this works in 8.04. m. -- Marianne Promberger Graduate student in Psychology http://www.psych.upenn.edu/~mpromber