informalsystems / themis-contract

A command line-based parameterized contracting tool
Apache License 2.0
46 stars 5 forks source link

Installing from source fails due to unsatisfied statik dependency #74

Closed shonfeder closed 4 years ago

shonfeder commented 4 years ago

Trying to follow the readme instructions for installing from source, but hit:


$ make install
cd pkg/themis-contract/ && statik -src=../../assets/
/bin/sh: statik: command not found
make: *** [Makefile:11: build] Error 127
``
shonfeder commented 4 years ago

Also failing on my system (manjaro) because of the chosen install directory:

$ make install
cd pkg/themis-contract/ && statik -f -src=../../assets/
go build -mod=readonly -ldflags="-X main.version=v0.1.5-153-g9eb5cba-20200908.190928" -o build/themis-contract cmd/themis-contract/*
go get github.com/rakyll/statik
cp build/themis-contract /usr/local/bin/
cp: cannot create regular file '/usr/local/bin/themis-contract': Permission denied
make: *** [Makefile:19: install] Error 1

I'm wondering why we can't install it as a go package?