hybridgroup / mechanoid

Mechanoid is a framework for WebAssembly applications on embedded systems and IoT devices.
https://mechanoid.io
Apache License 2.0
170 stars 8 forks source link

mecha not working after install in ubuntu 22 and go 22 #25

Closed siashish closed 4 months ago

siashish commented 4 months ago

follow the documentation still mecha install not working. Screenshot from 2024-03-19 10-18-02 if any one know the issue. please help.

deadprogram commented 4 months ago

Looks like you might not have the path setup correctly in your installation of Go for binaries, not specific to Mechanoid:

You need to add $GOPATH/bin (or since GOPATH isn't strictly needed since you're using the default location, just $HOME/go/bin) to your OS $PATH. Your shell finds binaries from your main $PATH variable, so that directory needs to be appended to your $PATH before anything can automatically find it

siashish commented 4 months ago

Screenshot from 2024-03-21 09-53-47 $PATH already set. Can you elaborate, What I need to change in the system to run the mecha. Thanks for your support :)

deadprogram commented 4 months ago

You need to add GOBIN to your PATH.

Since yours isn't set explicitly, the default is $GOPATH/bin

siashish commented 4 months ago

I added $GOPATH to my OS $PATH, still got the issue. Screenshot from 2024-03-21 14-54-18

deadprogram commented 4 months ago

I think perhaps my comment was not entirely clear.

You need to add whatever path your use of go install uses. It is your normal setup for Go that is missing this, not specific to Mechanoid.

siashish commented 4 months ago

Thanks for your support :)

orsinium commented 4 months ago

Thanks for your support :)

Does it work for you now?

siashish commented 4 months ago

Thanks for your support :)

Does it work for you now?

yes.