-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
mac 10.13.4
go version go1.8.3 darwin/amd64
my env:
export GOROOT=/usr/local/go # where your `go` sitting, usually here ( Mac )
export GOPATH=$HOME/go # means `~/go`
export PATH=$PATH:$HOME/go/bin:$GOPATH/bin
I had successfully run
xcode-select --install
brew install protobuf
brew install pkg-config
(sudo) go get -u github.com/golang/protobuf/protoc-gen-go
(sudo) go get -u github.com/jteeuwen/go-bindata/...
(sudo) go get -u github.com/ry/v8worker2
cd $GOPATH/src/github.com/ry/v8worker2
./build.py --use_ccache
(sudo) go get -u github.com/ry/deno/...
cd $GOPATH/src/github.com/ry/deno
but when I run
make
go build -o deno ./cmd
# runtime
/usr/local/go/src/runtime/cgo.go:9:3: //go:cgo_export_static main only allowed in cgo-generated code
make: *** [deno] Error 2
cmh2016
Metadata
Metadata
Assignees
Labels
No labels