tombi: install.sh doesn't work

This looks like a very interesting project!


I tried installing it, but the install.sh script seems to contain Bash-specific syntax. In my environment, I encountered the following error:

sh: 31: [[: not found

Running the command using | bash instead resolved the issue, but in this case, the colored output does not seem to work correctly.

Image


Also, after installing tombi via install.sh, running the binary resulted in the following error:

tombi: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by tombi)

I suspect this is due to my environment being Ubuntu 20.04, which is incompatible with the binary built for Ubuntu 22 or later. You might be able to resolve this by incorporating an Ubuntu 20 image into your build process.

Additionally, although development is currently paused (due to various reasons), cargo dist might become a good option in the future.


For those who found this issue, here are the commands to build and install tombi from source. (cargo is required, and it takes quite a while)

cargo install --git https://github.com/tombi-toml/tombi tombi-cli

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 20 (11 by maintainers)

Commits related to this issue

Most upvoted comments

It seems fixed!

v0.3.40 released

maybe we should use ubuntu-22.04-arm when build for aach64 ?

@takumin @nahco314

I’m going to make a few more modifications to sort out the build targets.

I will let you know in advance as this may affect you all.

I would try to make the target type the same as taplo.

@takumin

Please help 🙏

@nahco314 The CLI has been uploaded as an artifact, so it seems possible to check the install.sh in this issue.

@nahco314 @takumin

v0.3.39 released 🚀

Anyway, musl build will resolve all 😃

Ah, sorry, it was a duplicate… I’ll close the issue I submitted.