Contents

  1. whois
  2. history
binary を動かすだけでは心配なので、go ソースからコンパイルしてみた。-- ToshinoriMaeno 2023-04-05 00:19:45

go install

1. whois

make linux

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/linux/conoha-net
go: github.com/gophercloud/gophercloud@v0.7.0: missing go.sum entry; to add it:
        go mod download github.com/gophercloud/gophercloud
go: github.com/gophercloud/gophercloud@v0.7.0: missing go.sum entry; to add it:
        go mod download github.com/gophercloud/gophercloud
make: *** [Makefile:18: linux] エラー 1

tmaeno@maeno:~/conoha/conoha-net-master$ go mod download github.com/gophercloud/gophercloud
tmaeno@maeno:~/conoha/conoha-net-master$ make
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/linux/conoha-net
conoha/vps.go:12:2: missing go.sum entry for module providing package github.com/mitchellh/mapstructure (imported by github.com/hironobu-s/conoha-net/conoha); to add:
        go get github.com/hironobu-s/conoha-net/conoha
debug_transport.go:6:2: missing go.sum entry for module providing package github.com/sirupsen/logrus (imported by github.com/hironobu-s/conoha-net); to add:
        go get github.com/hironobu-s/conoha-net
commands.go:11:2: missing go.sum entry for module providing package github.com/urfave/cli (imported by github.com/hironobu-s/conoha-net); to add:
        go get github.com/hironobu-s/conoha-net
make: *** [Makefile:18: linux] エラー 1

tmaeno@maeno:~/conoha/conoha-net-master$ go get github.com/hironobu-s/conoha-net
go: downloading github.com/urfave/cli v1.22.2
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.1
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0

tmaeno@maeno:~/conoha/conoha-net-master$ 

2. history

tmaeno@maeno:~/conoha/conoha-net-master$ make
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/linux/conoha-net
cd bin/linux; gzip -c conoha-net > conoha-net-linux.amd64.gz

k


CategoryDns CategoryWatch CategoryTemplate

MoinQ: VPS/ConoHa/conoha-net/make (last edited 2023-04-05 00:19:45 by ToshinoriMaeno)