Skip to content

script/install-protoc rough edges #71

@rgarcia

Description

@rgarcia

A couple of issues I ran into with script/install-protoc, probably easily fixable:

  1. If you already have /usr/local/protoc, it fails to install the correct version with mv: cannot move 'protoc' to '/usr/local/protoc': Directory not empty. Possible solution is to remove that path or move protoc to a relative ./bin/ path that won't mess with system installs.

  2. protoc-gen-go install uses go get, which pulls the latest version, not the version in glide.lock. This leads to make compile failing. Possible solution: build using the version pulled down by glide via go build ./vendor/github.com/golang/protobuf/protoc-gen-go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions