sifive / freedom-tools

Tools for SiFive's Freedom Platform
217 stars 52 forks source link

comments on a Fedora 30 build #40

Closed jim-wilson closed 1 year ago

jim-wilson commented 4 years ago

I did a fresh install of Fedora 30 Workstation on a laptop, installed the git package, and tried to follow the build instructions.

The rh-python35 package can't be installed. I had to remove it from the yum command. I see no package with a similar name, but python3.7.6 is the default, and is already installed, including pip3, so maybe I don't need to install anything. A web search suggests that rh-python35 is a software collections package, and hence is maybe only installable if you have software collections support enabled, but the README doesn't have any info on how to enable software collections support. It is probably also only relevant to CentOS/RHEL and not Fedora, since people with (a still supported) Fedora aren't going to have ancient tools installed.

Note that on recent Fedora systems yum has been replaced with dnf, but dnf is a link to yum and is (mostly?) command line compatible, so in the short term the current instructions pointing at yum are still OK.

I had to install the make, autoconf, automake, and libtool packages to get the expat build started. The errors I got before I figured that out were a bit cryptic.

I had to install the python-unversioned-command package to get a python with out a version number which is used by the gcc multilib generator script.

I had to install texinfo-tex to get texi2dvi for binutils install which builds and installs pdf and html docs. I then get an error for a missing ecrm1095 file. I had to install texlive-collection-fontsrecommended to fix it. That installs over a hundred font files and adds over 200MB to the OS install.

The build then finished with no further problems.