riscvarchive / risc-v-getting-started-guide

The official RISC-V getting started guide
https://risc-v-getting-started-guide.readthedocs.io/en/latest/
Creative Commons Attribution 4.0 International
198 stars 56 forks source link

python3 is needed by "make linux -j $(nproc)" #14

Closed sanderjo closed 4 years ago

sanderjo commented 4 years ago

make linux -j $(nproc) on fresh Ubuntu 18.04 x86_64 gives problems. First:

checking for riscv64-unknown-linux-gnu-nm... riscv64-unknown-linux-gnu-nm
checking for python3... no
checking for python... no
configure: error:
*** These critical programs are missing or too old: python

So I installed python (python2), but that results in:

checking for riscv64-unknown-linux-gnu-nm... riscv64-unknown-linux-gnu-nm
checking for python3... no
checking for python... python
checking version of python... 2.7.15, bad
configure: error:
*** These critical programs are missing or too old: python
*** Check the INSTALL file for required versions.

After installation of python3, the make linux -j $(nproc)proceeds.

mgielda commented 4 years ago

Thanks! This should be solved now.