cannot build from source
Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue · 1 comments
Uj947nXmRqV2nRaWshKtHzTvckUUpD commented
$ go build
go: downloading github.com/spencercw/go-xz v0.0.0-20181128201811-c82a2123b492
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/vbauerster/mpb/v5 v5.3.0
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading golang.org/x/sys v0.0.0-20200810151505-1b9f1253b3ed
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/VividCortex/ewma v1.1.1
# github.com/spencercw/go-xz
../../go/pkg/mod/github.com/spencercw/go-xz@v0.0.0-20181128201811-c82a2123b492/compression.go:36:10: fatal error: lzma.h: No such file or directory 36 | #include <lzma.h>
| ^~~~~~~~
compilation terminated.
Uj947nXmRqV2nRaWshKtHzTvckUUpD commented
nvm i installed missing dep
sudo apt install liblzma-dev