Skip to content

First-time installation #178

Description

@taufik-rama

Hello, I've been trying to to learn about proto serialization. I've been using protocolbuffers in my workplace & I want to know about the alternatives.

I have an issue during the installation. When I tried

$ go get capnproto.org/go/capnp/v3

I got an error

captain@glados:~$ go get capnproto.org/go/capnp/v3
cannot find package "capnproto.org/go/capnp/v3" in any of:
	/usr/local/go/src/capnproto.org/go/capnp/v3 (from $GOROOT)
	/home/captain/go/src/capnproto.org/go/capnp/v3 (from $GOPATH)

Same using GO111MODULE turned off

captain@glados:~$ GO111MODULE=off go get capnproto.org/go/capnp/v3
cannot find package "capnproto.org/go/capnp/v3" in any of:
	/usr/local/go/src/capnproto.org/go/capnp/v3 (from $GOROOT)
	/home/captain/go/src/capnproto.org/go/capnp/v3 (from $GOPATH)

My go env is

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/captain/.cache/go-build"
GOENV="/home/captain/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/captain/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/captain/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build046804836=/tmp/go-build -gno-record-gcc-switches"

Sorry if this seems really basic, just wanted to know if there are other prerequisites/requirements for the installation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions