I'm having issues with installing either volare or...
# caravel
l
I'm having issues with installing either volare or the pdk-with-volare. After running make pdk-with-volare the terminal displays the following: export CARAVEL_ROOT=/home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog/caravel && make -f /home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog/caravel/Makefile pdk-with-volare make[1]: Entering directory '/home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog' python3 -m pip install --upgrade volare Requirement already up-to-date: volare in /home/leonardo/.local/lib/python3.8/site-packages (0.2.4) Requirement already satisfied, skipping upgrade: click-default-group~=1.2.2 in /home/leonardo/.local/lib/python3.8/site-packages (from volare) (1.2.2) Requirement already satisfied, skipping upgrade: requests~=2.27.0 in /home/leonardo/.local/lib/python3.8/site-packages (from volare) (2.27.1) Requirement already satisfied, skipping upgrade: pyyaml~=5.4.0 in /home/leonardo/.local/lib/python3.8/site-packages (from volare) (5.4.1) Requirement already satisfied, skipping upgrade: rich~=10.16.0 in /home/leonardo/.local/lib/python3.8/site-packages (from volare) (10.16.2) Requirement already satisfied, skipping upgrade: click<9,>=8.0.0 in /home/leonardo/.local/lib/python3.8/site-packages (from volare) (8.1.3) Requirement already satisfied, skipping upgrade: pcpp~=1.30 in /home/leonardo/.local/lib/python3.8/site-packages (from volare) (1.30) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests~=2.27.0->volare) (2019.11.28) Requirement already satisfied, skipping upgrade: charset-normalizer~=2.0.0; python_version >= "3" in /home/leonardo/.local/lib/python3.8/site-packages (from requests~=2.27.0->volare) (2.0.12) Requirement already satisfied, skipping upgrade: idna<4,>=2.5; python_version >= "3" in /usr/lib/python3/dist-packages (from requests~=2.27.0->volare) (2.8) Requirement already satisfied, skipping upgrade: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests~=2.27.0->volare) (1.25.8) Requirement already satisfied, skipping upgrade: colorama<0.5.0,>=0.4.0 in /usr/lib/python3/dist-packages (from rich~=10.16.0->volare) (0.4.3) Requirement already satisfied, skipping upgrade: commonmark<0.10.0,>=0.9.0 in /home/leonardo/.local/lib/python3.8/site-packages (from rich~=10.16.0->volare) (0.9.1) Requirement already satisfied, skipping upgrade: pygments<3.0.0,>=2.6.0 in /home/leonardo/.local/lib/python3.8/site-packages (from rich~=10.16.0->volare) (2.12.0) make[1]: volare: Command not found make[1]: * [/home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog/caravel/Makefile1225 pdk-with-volare] Error 127 make[1]: Leaving directory '/home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog' make: * [Makefile42 pdk-with-volare] Error 2
m
What do you get with
which volare
? How about
ls -l ~/.local/bin/volare
? Is
~/.local/bin
in your
PATH
? Also, quoting your logs like below will make them more readable. (use the code block icon at the top far right of the edit box).
Copy code
export CARAVEL_ROOT=/home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog/caravel && make -f /home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog/caravel/Makefile pdk-with-volare
make[1]: Entering directory '/home/leonardo/sky130_projects/SSCS_PICO/caravel_user_project_analog'
l
I'm using my phone, and slack doesn't seem to have this option in its mobile version... I'll run these commands as soon as I get back home. By the way, which PATH are you talking about? And what about the PDK_HOME? Is it the same folder I installed the open_pdk?
m
Linux path for executables search.
echo $PATH
If you don't have the code block icon, try 3 backquotes before and after.
Copy code
```
If
~/.local/bin
is not in your
PATH
, you can add it with
export PATH=$HOME/.local/bin:$PATH
l
Ok, so answering your questions: 1.
which volare
doesn't return anything 2.
ls -l ~/.local/bin/volare
returns
-rwxrwxr-x 1 leonardo leonardo 212 ago 16 18:38 /home/leonardo/.local/bin/volare
3.
echo $PATH
returns
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
By the way, I'm trying to follow @mehdi’s tutorial for installing caravel_analog
m
If
~/.local/bin
is not in your
PATH
, you can add it with
export PATH=$HOME/.local/bin:$PATH
l
But, didn't it return a local/bin as being part of $PATH?
m
/usr/local/bin
is not
~/.local/bin/
👍 1