talent-plan/tinykv

Help: make error

wnz27 opened this issue · 2 comments

wnz27 commented

❯ make
GO111MODULE=on go build -tags codes -o bin/tinykv-server kv/main.go
go build github.com/DataDog/zstd: build constraints exclude all Go files in /Users/f27/go/pkg/mod/github.com/!data!dog/zstd@v1.5.2
make: *** [kv] Error 1

ref: DataDog/zstd#46
if you are using Ubuntu, you can try sudo apt install gcc -y

wnz27 commented

ref: DataDog/zstd#46 if you are using Ubuntu, you can try sudo apt install gcc -y

emmmm.....maybe the problem cause by i use m1