Tom Callaway
2022-Nov-07 16:35 UTC
[R-sig-Fedora] Installing R from source in Fedora -- "minimal package list"
The Requires on R-core-devel are not in any way intended to prep an environment to build R (they are intended to provide the minimum requirements for the R header files to work). To do what you want, your best bet is to pull down the R.spec file: https://src.fedoraproject.org/rpms/R/raw/rawhide/f/R.spec Then, use the "builddep" plug-in from dnf to install the BuildRequires: dnf builddep R.spec ~spot On Mon, Nov 7, 2022, 8:26 AM Martin Maechler <maechler at stat.math.ethz.ch> wrote:> As R Develeoper, I've tried to install R in a fedora podman > container, starting from plain fedora > > dnf install R-core-devel > dnf install emacs-ess > dnf install subversion > > cd /usr/local > mkdir -p .../R > cd .../R > svn checkout https://svn.r-project.org/R/trunk R-devel > mkdir -p inst/R-devel > cd inst/R-devel/ > ../../R-devel/configure > > and then it's telling me I will not have readline, so I stop > > and do > > dnf install libreadline-devel > > but then X11 libraries/headers are missing etc. > > ------------------------------------------------- > > I had hoped that the R-core-devel would already provide me > with what I needed. > > Is there a list of such things to easily add to my list to add > after starting to run podman in a "base fedora" ? > > {I'd be glad to be CC'ed as I'm not subscribed to R-SIG-Fedora} > > Thank you in advance, > Martin > > -- > Martin Maechler > ETH Zurich and R core team > > _______________________________________________ > R-SIG-Fedora mailing list > R-SIG-Fedora at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-fedora >[[alternative HTML version deleted]]
IƱaki Ucar
2022-Nov-07 18:37 UTC
[R-sig-Fedora] Installing R from source in Fedora -- "minimal package list"
On Mon, 7 Nov 2022 at 17:36, Tom Callaway <spotrh at gmail.com> wrote:> > The Requires on R-core-devel are not in any way intended to prep an > environment to build R (they are intended to provide the minimum > requirements for the R header files to work). > > To do what you want, your best bet is to pull down the R.spec file: > https://src.fedoraproject.org/rpms/R/raw/rawhide/f/R.spec > > Then, use the "builddep" plug-in from dnf to install the BuildRequires: > dnf builddep R.specThis works too, but it doesn't get the latest changes in rawhide: $ dnf builddep R BTW, Llu?s is putting together a guide where all these deps are listed: https://github.com/r-devel/rdevguide/pull/105 I?aki> > ~spot > > On Mon, Nov 7, 2022, 8:26 AM Martin Maechler <maechler at stat.math.ethz.ch> > wrote: > > > As R Develeoper, I've tried to install R in a fedora podman > > container, starting from plain fedora > > > > dnf install R-core-devel > > dnf install emacs-ess > > dnf install subversion > > > > cd /usr/local > > mkdir -p .../R > > cd .../R > > svn checkout https://svn.r-project.org/R/trunk R-devel > > mkdir -p inst/R-devel > > cd inst/R-devel/ > > ../../R-devel/configure > > > > and then it's telling me I will not have readline, so I stop > > > > and do > > > > dnf install libreadline-devel > > > > but then X11 libraries/headers are missing etc. > > > > ------------------------------------------------- > > > > I had hoped that the R-core-devel would already provide me > > with what I needed. > > > > Is there a list of such things to easily add to my list to add > > after starting to run podman in a "base fedora" ? > > > > {I'd be glad to be CC'ed as I'm not subscribed to R-SIG-Fedora} > > > > Thank you in advance, > > Martin > > > > -- > > Martin Maechler > > ETH Zurich and R core team > > > > _______________________________________________ > > R-SIG-Fedora mailing list > > R-SIG-Fedora at r-project.org > > https://stat.ethz.ch/mailman/listinfo/r-sig-fedora > > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Fedora mailing list > R-SIG-Fedora at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-fedora-- I?aki ?car