Git Product home page Git Product logo

Comments (10)

ztplz avatar ztplz commented on April 28, 2024 4

@qti3e
Yes, thanks for your help.
I have build success in my mac.
When I run make, I got some error message like this
protoc --go_out=. msg.proto protoc-gen-go: program not found or is not executable
I type conmand below
export PATH="$PATH:$GOPATH/bin"
It is work fine for me.
Hope my solution can help some macOS user.

from deno.

FrankFang avatar FrankFang commented on April 28, 2024 1

@qti3e Thanks! make (under GOPATH/src/github.com/ry/deno) works.
@yuqingc Thanks too.

from deno.

FrankFang avatar FrankFang commented on April 28, 2024 1

image

Thank you guys.

from deno.

FrankFang avatar FrankFang commented on April 28, 2024

$ go version
go version go1.10.2 darwin/amd64

from deno.

qti3e avatar qti3e commented on April 28, 2024

The error states that BaseMsg is undefined, and that's because BaseMsg is defined inside msg.pb.go, this file should be generated using:

protoc --go_out=. msg.proto

and actually that's not how you supposed to build deno, you should use make deno, it will do all the build-related stuff for you : )

PS make sure you have all the deps (read README)

sudo apt-get install libgtk-3-dev pkg-config ccache

from deno.

ztplz avatar ztplz commented on April 28, 2024

When i run go get -u github.com/ry/deno/..., I got the same error.
I found BaseMsg is not defined in the dispatch.go.
BaseMsg should be a struct, but it is not defined.

from deno.

yuqingc avatar yuqingc commented on April 28, 2024

FYI: BaseMsg is defined inside msg.pb.go

type BaseMsg struct {
	Channel              string   `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Payload              []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

from deno.

ulivz avatar ulivz commented on April 28, 2024

Met the same error, but I guess you can still run the rest build steps successfully.

from deno.

FrankFang avatar FrankFang commented on April 28, 2024

@ulivz yes.

from deno.

qti3e avatar qti3e commented on April 28, 2024

@ztplz Have you solved your issue...?

from deno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.