On Thu, Aug 25, 2011 at 3:51 PM, carol white <wht_crl@yahoo.com> wrote:

> Thanks I ran your command but still get the same error message when I run
> ./configure
>
> configure: error: --with-x=yes (default) and X11 headers/libs are not
> available
>

If you are installing via  apt-get, why do you have to run ./configure?



>
>
>
> ----- Original Message -----
> From: Linlin Yan (颜林林) <yanlinlin82@gmail.com>
> To: carol white <wht_crl@yahoo.com>
> Cc: "r-help@stat.math.ethz.ch" <r-help@stat.math.ethz.ch>
> Sent: Thursday, August 25, 2011 3:41 PM
> Subject: Re: [R] X11 problem
>
> In order to build R-2.13.1 from source with X11, I guess you need to
> install X11 develop library. Please try this:
> sudo apt-get install libx11-dev
>
> On Thu, 2011-08-25 at 05:49 -0700, carol white wrote:
> > Thanks for your reply. I used the following commands:
> > sudo apt-get update
> > sudo apt-get install r-base
> >
> > ----- Original Message -----
> > From: Kevin E. Thorpe <kevin.thorpe@utoronto.ca>
> > To: carol white <wht_crl@yahoo.com>
> > Cc: "r-help@stat.math.ethz.ch" <r-help@stat.math.ethz.ch>
> > Sent: Thursday, August 25, 2011 2:34 PM
> > Subject: Re: [R] X11 problem
> >
> > On 08/25/2011 08:27 AM, carol white wrote:
> > > Hello,
> > > TO update R under Ubuntu on my macchine, I downloaded R-2.13.1. When
> running ./configure, I got the following error message:
> > >
> > > checking for X... no
> > > configure: error: --with-x=yes (default) and X11 headers/libs are not
> available
> > >
> > >
> > >
> > > But I could use X11() function in R-2-10. So where does the problem
> come from?
> > >
> > > Cheers,
> > >
> > > Carol
> > >
> >
> > It looks like you're compiling from source and your system does not have
> > the header files required installed.  Did you compile your previous
> > version or use a pre-built (binary) package?  A binary package would not
> > require the headers.
> >
> > I don't use Ubuntu, so I don't know what the name of packages you need
> > for the headers.  Typically the packages have the devel versions
> > separate, you you need those.
> >
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

	[[alternative HTML version deleted]]

