Skip to content

installing 2.14.0 on fedora

7 messages · Steve Taylor, Pierre-Yves Chibon, Gavin Simpson +2 more

#
On Sun, 2011-11-06 at 10:36 +1300, Steve Taylor wrote:
Short answer is, we are working on it and hopefully there will be an
update sooner than later :-)

Pierre
#
On Sun, 2011-11-06 at 10:36 +1300, Steve Taylor wrote:
What are you missing from the R Installation and Administration manual?

I regularly use svn to checkout the source tree and then it is a
configure, make, make check, make install away.

Yes you will need *-devel packages to be installed from the repositories
using yum, but configure will tell you if you have something missing.
The manual I mentioned contains pointers as to which packages you need.

I don't know exactly what packages are required to compile R from
source, but if you are having problems, post the output from configure
and I should be able to point you in the right direction.

G

  
    
#
On Sat, 2011-11-05 at 21:07 -0400, Mark Leeds wrote:
su -c "yum install readline-devel"

will install the package required to get passed the configure error you
past that configure error.
Those packages are required for compiling with X11 support - i.e. on
screen graphics via the x11() device.

The same manual also tells you that readline headers are required and as
you haven't/hadn't installed those, the error remained. Had you
installed readline-devel, but not the X packages you mention, configure
would have failed again later.

Whenever R complains about not having headers or libs available or that
it can't find a *.h file then invariably you are missing the required
development headers. In Fedora these are usually in a *-devel package.
So you will have readline installed on your system for example, but not
readline-devel, and hence the need to install the *-devel packages you
mention regarding X.

If you are compiling from source, you'll need to compile from source any
R add-on packages you want. These will also require, in many cases
development headers. You will need to master using yum to find the
missing (Fedora) packages required to compile those packages.

yum search readline

would list a number of packages containing the string readline,
including in their description, whereas

yum list available | grep readline

will list only those packages with readline in their name. You can also
search for particular files, e.g. readline.h - which was mentioned as
missing in the configure output:

yum provides */readline.h

then look through the packages to see which ones provide the correct
headers.

HTH

G

  
    
#
On 11/06/2011 01:07 AM, Mark Leeds wrote:
Try yum-builddeps from the yum-utils package. From the manpage:

yum-builddep  is  a  program which installs the RPMs needed to build the
specified package.