Hi, I am following along the readme of the "Template repository for creating a custom Toit envelope" (https://github.com/toitlang/template-custom-envelope); The point where I run "make" (final step before generating the firmware envelope), I would get the following error:
Hope anyone helps, Thanks(edited)
floitsch02/18/2025 12:02 PM
Hmm. Looks like there is an issue with the pkg manager. Let me investigate a bit.
AbedN02/18/2025 12:03 PM
thanks for the quick response! let me know if you need to know anything further
floitsch02/18/2025 12:04 PM
Will do. Trying to run the steps locally now. We changed how the package manager is built, so maybe it will be glaringly obvious once I hit the same issue.
1
floitsch02/18/2025 12:08 PM
Do you have 'go' installed?
floitsch02/18/2025 12:10 PM
Looking again at your screenshot, it looks like the compilation of the package manager is failing. To me this indicates that the go executable is not installed or not in your PATH.
floitsch02/18/2025 12:10 PM
(and I was wrong: we changed how the LSP server is built, but not the package manager).
AbedN02/18/2025 12:16 PM
installing go got me a step further, now i am getting this:
floitsch02/18/2025 12:17 PM
I'm guessing the zlib isn't installed.
floitsch02/18/2025 12:17 PM
Which Linux distribution?
AbedN02/18/2025 12:17 PM
wsl ubuntu
floitsch02/18/2025 12:18 PM
try sudo apt install zlib1g-dev
floitsch02/18/2025 12:19 PM
(or alternatives like sudo apt-get install , sudo aptitude install, ... or using your preferred pkg-UI)