Re: [R] need help for building R in Ubuntu 8.04

From: Martin Maechler <>
Date: Wed, 28 May 2008 14:29:10 +0200

>>>>> "EH" == Erin Hodgess <> >>>>> on Sun, 25 May 2008 13:27:04 -0500 writes:

    EH> Try: ./configure --with-x=no

well...... no! really don't.

If you want to enjoy a Linux system and building from the source, and then maybe learn how that is happening, learning about shell scripts and 'make' and ...
then rather do get the extra ubuntu packages needed.

The advice (below) to get the 'xorg-dev' is definitely good advice. I have it on the list of packages I'd always want to install in addition to the basic ubuntu/debian list.

But you most probably will find that you need a few more tools / libraries / headers for your ubuntu system such that you can build R with all the bells and whistles possible.

There's the Debian (and "hence" Ubuntu) package 'r-base-dev'
which contains 'r-base' (i.e. a *binary* version of R; the one Dirk Eddelbuettel mentioned),
but also most of the compilers/libraries/... that you'd want to build R from the sources.

Last time I did get 'r-base-dev' on a "virgin" ubuntu system, I vaguely remember that it did not contain *really* all the tools I'd wanted, but almost all.
e.g., you may also want the two packages


which probably are not in the dependencies of 'r-base-dev'.

Martin Maechler, ETH Zurich

    EH> On Sun, May 25, 2008 at 1:20 PM, Roland Rau
    EH> <> wrote:

>> 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

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.
Received on Wed 28 May 2008 - 14:36:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 28 May 2008 - 15:30:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive