On Wed, 16 Apr 2025 at 09:48, Roger Bivand via R-SIG-Fedora < r-sig-fedora at r-project.org> wrote:> Building R 4.5.0 from source on Fedora 42 hits problems because 42 ships > with Tcl/Tk 9. tcl8-devel and tk8-devel are available and can be used, but > I haven't yet found a viable incantation yet. Neither R released nor devel > support Tcl/Tk 9 https://www.tcl-lang.com/software/tcltk/9.0.html. >Yes, you just need to install tcl8-devel and tk8-devel (and tell dnf to remove version 9 if it's already there) and compile as usual.> Building against external BLAS is also not self-evident, so may need > guidance.Building against FlexiBLAS is recommended. So you need to install flexiblas-devel, then tell R via --with-blas=flexiblas --with-lapack. See the configure part of our spec for a complete reference of what we do: https://src.fedoraproject.org/rpms/R/blob/rawhide/f/R.spec#_326 I?aki> > Any suggestions welcome! > > Roger > > --- > Roger Bivand > Emeritus Professor > Department of Economics > Norwegian School of Economics, Bergen, Norway > > [[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 [[alternative HTML version deleted]]
The Mac builds want stuff like below. I suspect you may need similar tcl and tk lines pointing to *Config.sh for Tcl/Tk 8. (Tcl/Tk 9 popped up a bit too late in the development cycle for us to go investigating. Do you have any specifics about what has changed and causes problems?) -pd pd$ more config.site CPPFLAGS=-I/opt/R/x86_64/include LDFLAGS=-L/opt/R/x86_64/lib with_tcl_config=/opt/R/x86_64/lib/tclConfig.sh with_tk_config=/opt/R/x86_64/lib/tkConfig.sh> On 16 Apr 2025, at 11.11, I?aki Ucar <iucar at fedoraproject.org> wrote: > > On Wed, 16 Apr 2025 at 09:48, Roger Bivand via R-SIG-Fedora < > r-sig-fedora at r-project.org> wrote: > >> Building R 4.5.0 from source on Fedora 42 hits problems because 42 ships >> with Tcl/Tk 9. tcl8-devel and tk8-devel are available and can be used, but >> I haven't yet found a viable incantation yet. Neither R released nor devel >> support Tcl/Tk 9 https://www.tcl-lang.com/software/tcltk/9.0.html. >> > > Yes, you just need to install tcl8-devel and tk8-devel (and tell dnf to > remove version 9 if it's already there) and compile as usual. > > >> Building against external BLAS is also not self-evident, so may need >> guidance. > > > Building against FlexiBLAS is recommended. So you need to install > flexiblas-devel, then tell R via --with-blas=flexiblas --with-lapack. > > See the configure part of our spec for a complete reference of what we do: > > https://src.fedoraproject.org/rpms/R/blob/rawhide/f/R.spec#_326 > > I?aki > > >> >> Any suggestions welcome! >> >> Roger >> >> --- >> Roger Bivand >> Emeritus Professor >> Department of Economics >> Norwegian School of Economics, Bergen, Norway >> >> [[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 > > [[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-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business SchoolSolbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On Wed, 16 Apr 2025, I?aki Ucar wrote:> On Wed, 16 Apr 2025 at 09:48, Roger Bivand via R-SIG-Fedora > <r-sig-fedora at r-project.org<mailto:r-sig-fedora at r-project.org>> wrote: > Building R 4.5.0 from source on Fedora 42 hits problems because 42 ships > with Tcl/Tk 9. tcl8-devel and tk8-devel are available and can be used, > but I haven't yet found a viable incantation yet. Neither R released nor > devel support Tcl/Tk 9 https://www.tcl-lang.com/software/tcltk/9.0.html. > > Yes, you just need to install tcl8-devel and tk8-devel (and tell dnf to > remove version 9 if it's already there) and compile as usual. > > Building against external BLAS is also not self-evident, so may need > guidance. > > Building against FlexiBLAS is recommended. So you need to install > flexiblas-devel, then tell R via --with-blas=flexiblas --with-lapack.Thanks, I was missing flexiblas-devel. Roger> > See the configure part of our spec for a complete reference of what we > do: > > https://src.fedoraproject.org/rpms/R/blob/rawhide/f/R.spec#_326 > > I?aki > > > Any suggestions welcome! > > Roger > > --- > Roger Bivand > Emeritus Professor > Department of Economics > Norwegian School of Economics, Bergen, Norway > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Fedora mailing list > R-SIG-Fedora at r-project.org<mailto:R-SIG-Fedora at r-project.org> > https://stat.ethz.ch/mailman/listinfo/r-sig-fedora > > > > -- > I?aki ?car >-- Roger Bivand Emeritus Professor Department of Economics, Norwegian School of Economics, Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway. e-mail: Roger.Bivand at nhh.no
On Wed, 16 Apr 2025 at 10:11, I?aki Ucar <iucar at fedoraproject.org> wrote:> On Wed, 16 Apr 2025 at 09:48, Roger Bivand via R-SIG-Fedora < > r-sig-fedora at r-project.org> wrote: > > > Building R 4.5.0 from source on Fedora 42 hits problems because 42 ships > > with Tcl/Tk 9. tcl8-devel and tk8-devel are available and can be used, > but > > I haven't yet found a viable incantation yet. Neither R released nor > devel > > support Tcl/Tk 9 https://www.tcl-lang.com/software/tcltk/9.0.html. > > > > Yes, you just need to install tcl8-devel and tk8-devel (and tell dnf to > remove version 9 if it's already there) and compile as usual. > >There is now a fix in R-devel that allows R to be linked to Tcl/Tk 9. I'll give it a few days to bed in and then port it over to R-4-5-branch so that it can go in R 4.5.1. Martyn> > > Building against external BLAS is also not self-evident, so may need > > guidance. > > > Building against FlexiBLAS is recommended. So you need to install > flexiblas-devel, then tell R via --with-blas=flexiblas --with-lapack. > > See the configure part of our spec for a complete reference of what we do: > > https://src.fedoraproject.org/rpms/R/blob/rawhide/f/R.spec#_326 > > I?aki > > > > > > Any suggestions welcome! > > > > Roger > > > > --- > > Roger Bivand > > Emeritus Professor > > Department of Economics > > Norwegian School of Economics, Bergen, Norway > > > > [[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 > > [[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 >[[alternative HTML version deleted]]