https://toitlang.org/ logo
Failed generation of toit.pkg
# help
a
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 https://cdn.discordapp.com/attachments/1341378864659693630/1341379120004857897/image.png?ex=67b5c827&is=67b476a7&hm=d262f8508439c40162657d37cadbf527c5b797925e741202850f2d3557c1c27b&
f
Hmm. Looks like there is an issue with the pkg manager. Let me investigate a bit.
a
thanks for the quick response! let me know if you need to know anything further
f
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.
Do you have 'go' installed?
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.
(and I was wrong: we changed how the LSP server is built, but not the package manager).
f
I'm guessing the zlib isn't installed.
Which Linux distribution?
a
wsl ubuntu
f
try
sudo apt install zlib1g-dev
(or alternatives like
sudo apt-get install
,
sudo aptitude install
, ... or using your preferred pkg-UI)
a
that did work, thanks!