Skip to content

Building R-3.2.0 from source.

4 messages · Tom Callaway, Rolf Turner, José Abílio Matos

#
I just landed in Paris, and haven't read backwards in this thread, but I've done 3.2.0 builds for all current Fedora releases, they're all in updates-testing (I think the Fedora 22 builds are in updates stable now).

The thing that changed is that R doesn't bundle a number of libraries like it used to. This doesn't affect the official Fedora R package, since we never used the bundled libraries. This is documented in the 3.2.0 release notes.

If you really want to build from source, I think you can run:

yum-builddep R

That will install all the necessary Build Requires to build R from source. You need to have the yum-utils package installed for that command to exist.

Hope that helps.
On May 11, 2015 3:10 AM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
#
On 11/05/15 16:19, Tom Callaway wrote:
It certainly did!  Success.  Thank you hugely!

But if I may ask a supplementary question:  You say "If you really want 
to build from source ....".  No, I don't *want* to; I have to.  At least 
in my understanding.  I run the ancient and beyond end-of-life Fedora 
17.  (I haven't the nerve to try to upgrade; my current system may be 
kludgey, but at least it works.  And I *know* that if I try to upgrade 
all hell will break loose.)  It is my understanding that "current Fedora 
releases" *do not* include Fedora 17.  Or do they?
If so, how would I get my hands on an R binary for Fedora 17?

That's really just an academic question at present, since I have now 
managed, thanks to your help, to build R 3.2.0 from source.

Thanks again.

cheers,

Rolf Turner

  
    
#
On Monday 11 May 2015 19:42:53 Rolf Turner wrote:
The list of supported versions is here:
https://fedoraproject.org/wiki/Releases

In short each version is supported for one month after the release of version N+2.

That means in particular that as soon as Fedora 22 is released Fedora will be supported one more month.
If you prefer a short release cycle a reasonable approach is CentOS where R is packaged in the EPEL repositories, that belong the Fedora infrastructure.

Regards,
#
On 05/11/2015 09:42 AM, Rolf Turner wrote:
Wow. Well, I can't say that I'm building anything for end-of-lifed
Fedora releases, though I understand your predicament.

That said, I am still building for EL5, which is older than Fedora 17,
so you could try to rebuild the R src.rpm from koji. If it does not work
properly, let me know, and I will try to fix the conditionals so that it
does.

Glad you got it working. :)

~tom

==
Red Hat