Re: [R] Compiling from sources (ubuntu and x11)

2009-11-20 Thread Jakson A. Aquino
On Thu, Nov 19, 2009 at 11:34:22PM -0600, stephen sefick wrote:
  am using ubuntu 9.10 and I am getting and x11 lib/headers not found.
 I have installed libx11-dev.  I thought this would solve the problem,
 but it is not.  Any help would be appreciated.

Looking at output of the configure script you should be able to
know what specific file is missing. Then you can Search the
contents of packages at http://packages.ubuntu.com/ to know what
package contains the missing file.

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


Re: [R] Compiling from sources (ubuntu and x11)

2009-11-20 Thread Dirk Eddelbuettel

On 19 November 2009 at 23:34, stephen sefick wrote:
|  am using ubuntu 9.10 and I am getting and x11 lib/headers not found.
| I have installed libx11-dev.  I thought this would solve the problem,
| but it is not.  Any help would be appreciated.

You can try 'sudo apt-get build-dep r-base' which will use the package info to 
get
the required packages. You may need deb-src entries for that.

Or look at the diff.gz on the mirrors to read the entry:

  Build-Depends: gcc (= 4:4.1.0), g++ (= 4:4.1.0), gfortran (= 4:4.1.0),
libblas-dev, liblapack-dev (= 3.1.1), tcl8.5-dev, tk8.5-dev, bison,
groff-base, libncurses5-dev, libreadline-dev, debhelper (= 7.2.3),
texi2html, texinfo (= 4.1-2), libbz2-dev, libpcre3-dev, xdg-utils,
zlib1g-dev, libpng12-dev, libjpeg62-dev, libx11-dev, libxt-dev,
x11proto-core-dev, libpango1.0-dev, libcairo2-dev, libtiff4-dev, xvfb,
xauth, xfonts-base, texlive-base, texlive-latex-base,
texlive-generic-recommended, texlive-fonts-recommended,
texlive-extra-utils, texlive-latex-recommended, texlive-latex-extra,
texinfo, texi2html, openjdk-6-jdk [!arm !hppa !kfreebsd-i386
!kfreebsd-amd64 !hurd-i386]

so 'libx11-dev, libxt-dev, x11proto-core-dev' are what you need, but you
probably also need the headers for devices etc.

Or, as suggested, look at the configure output.

Or read the 'R Adminstration' manual which details some of this too, and
recommends the xorg-dev package on Debian (and Ubuntu should be close).

Dirk

-- 
Three out of two people have difficulties with fractions.

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


[R] Compiling from sources (ubuntu and x11)

2009-11-19 Thread stephen sefick
 am using ubuntu 9.10 and I am getting and x11 lib/headers not found.
I have installed libx11-dev.  I thought this would solve the problem,
but it is not.  Any help would be appreciated.
kind regards,

-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

-K. Mullis

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