10-28-2019, 01:50 PM
I have tried to install the Pulpissimo SDK, but without success. I have searched in the Forum for a similar problem, but I couldn't find it. Therefore, I'm posting here the sequence of commands I'm issuing and the final result. Any help will be appreciated.
I'm working on a clean Linux 16.04.06 Install. Following the information available in GitHub, here is the sequence I'm following:
1 - sudo apt install git python3-pip gawk texinfo libgmp-dev libmpfr-dev libmpc-dev swig3.0 libjpeg-dev lsb-core doxygen python-sphinx sox graphicsmagick-libmagick-dev-compat libsdl2-dev libswitch-perl libftdi1-dev cmake scons libsndfile1-dev
2 - sudo pip3 install twisted prettytable pyelftools openpyxl xlsxwriter pyyaml numpy configparser pyvcd
3 - sudo pip3 install configparser
4 - cd /opt
5 - sudo mkdir riscv
6 - cd riscv
7 - git clone https://github.com/pulp-platform/pulp-ri...-toolchain
8 - cd pulp-riscv-gnu-toolchain
9 - git submodule update --init --recursive
10 - sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev
11 - sudo ./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
12 - make
13 - export PULP_RISCV_GCC_TOOLCHAIN=‘/opt/riscv’
14 - cd /opt/riscv
15 - sudo git clone https://github.com/pulp-platform/pulp-builder.git
16 - cd pulp-builder
17 - source configs/pulpissimo.sh
18 - sudo ./scripts/build-gvsoc
This last command fails with the following error:
...
make: Entering directory '/opt/riscv/pulp-builder/archi'
scons
scons: Reading SConscript files ...
ImportError: No module named configparser:
File "/opt/riscv/pulp-builder/archi/SConstruct", line 4:
import pulp_config as plpconfig
File "/opt/riscv/pulp-builder/install/ws/python/pulp_config.py", line 23:
import configparser
Makefile:2: recipe for target 'build' failed
make: *** [build] Error 2
make: Leaving directory '/opt/riscv/pulp-builder/archi'
I get exactly the same result if, instead of command 18 i issues the following three commands:
./scripts/clean
./scripts/update-runtime
./scripts/build-runtime
Since module configparser was apparently installed in step 3 I don't know what may be wrong.
Thank you very much in advance for your help.
I'm working on a clean Linux 16.04.06 Install. Following the information available in GitHub, here is the sequence I'm following:
1 - sudo apt install git python3-pip gawk texinfo libgmp-dev libmpfr-dev libmpc-dev swig3.0 libjpeg-dev lsb-core doxygen python-sphinx sox graphicsmagick-libmagick-dev-compat libsdl2-dev libswitch-perl libftdi1-dev cmake scons libsndfile1-dev
2 - sudo pip3 install twisted prettytable pyelftools openpyxl xlsxwriter pyyaml numpy configparser pyvcd
3 - sudo pip3 install configparser
4 - cd /opt
5 - sudo mkdir riscv
6 - cd riscv
7 - git clone https://github.com/pulp-platform/pulp-ri...-toolchain
8 - cd pulp-riscv-gnu-toolchain
9 - git submodule update --init --recursive
10 - sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev
11 - sudo ./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
12 - make
13 - export PULP_RISCV_GCC_TOOLCHAIN=‘/opt/riscv’
14 - cd /opt/riscv
15 - sudo git clone https://github.com/pulp-platform/pulp-builder.git
16 - cd pulp-builder
17 - source configs/pulpissimo.sh
18 - sudo ./scripts/build-gvsoc
This last command fails with the following error:
...
make: Entering directory '/opt/riscv/pulp-builder/archi'
scons
scons: Reading SConscript files ...
ImportError: No module named configparser:
File "/opt/riscv/pulp-builder/archi/SConstruct", line 4:
import pulp_config as plpconfig
File "/opt/riscv/pulp-builder/install/ws/python/pulp_config.py", line 23:
import configparser
Makefile:2: recipe for target 'build' failed
make: *** [build] Error 2
make: Leaving directory '/opt/riscv/pulp-builder/archi'
I get exactly the same result if, instead of command 18 i issues the following three commands:
./scripts/clean
./scripts/update-runtime
./scripts/build-runtime
Since module configparser was apparently installed in step 3 I don't know what may be wrong.
Thank you very much in advance for your help.