[R-sig-Fedora] Fedora 42 R source build issues

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Wed Apr 16 11:11:26 CEST 2025


On Wed, 16 Apr 2025 at 09:48, Roger Bivand via R-SIG-Fedora <
r-sig-fedora using 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 using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
>
>

-- 
Iñaki Úcar

	[[alternative HTML version deleted]]



More information about the R-SIG-Fedora mailing list