goodls
goodls copied to clipboard
Failed to compile goodls on Ubuntu 20.04.2 LTS.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
$ go version
go version devel go1.17-fd3612e433 Sat Apr 17 00:02:01 2021 +0000 linux/amd64
$ git clone https://github.com/tanaikech/goodls.git goodls.git
$ cd goodls.git
$ go install github.com/tanaikech/goodls@latest
go: finding module for package google.golang.org/api/googleapi/transport
go: finding module for package golang.org/x/crypto/ssh/terminal
go: finding module for package google.golang.org/api/drive/v3
go: finding module for package github.com/urfave/cli
go: finding module for package google.golang.org/api/googleapi
go: finding module for package github.com/tanaikech/go-getfilelist
go: found github.com/tanaikech/go-getfilelist in github.com/tanaikech/go-getfilelist v1.0.2
go: found github.com/urfave/cli in github.com/urfave/cli v1.22.5
go: found golang.org/x/crypto/ssh/terminal in golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
go: found google.golang.org/api/drive/v3 in google.golang.org/api v0.56.0
go: found google.golang.org/api/googleapi in google.golang.org/api v0.56.0
go: found google.golang.org/api/googleapi/transport in google.golang.org/api v0.56.0
# github.com/tanaikech/goodls
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:380:12: cannot use []*cli.Author{...} (type []*cli.Author) as type []cli.Author in assignment
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:388:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:393:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:399:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:404:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:409:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:414:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:419:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:424:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:429:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]/goodls.go:429:4: too many errors
same problem on Raspbian GNU/Linux 10 (buster), go version go1.17.8 linux/arm https://github.com/tanaikech/goodls/issues/24
same issue here
here too. go1.19.3 linux/386, Debian Sid.
Try installing with;
go install github.com/tanaikech/goodls@master
@erenaksoy Nice. It does the trick:
werner@X10DAi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
werner@X10DAi:~$ go version
go version devel go1.18-5d6d9f5610 Fri Oct 29 23:25:18 2021 +0000 linux/amd64
werner@X10DAi:~$ go install github.com/tanaikech/goodls@master
go: downloading github.com/tanaikech/goodls v1.2.9-0.20220226023418-540c5ea65334
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading google.golang.org/api v0.70.0
go: downloading github.com/tanaikech/go-getfilelist v2.0.0+incompatible
go: downloading github.com/urfave/cli v1.22.5
go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158
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
go: downloading google.golang.org/grpc v1.44.0
go: downloading golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
go: downloading golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
go: downloading go.opencensus.io v0.23.0
go: downloading github.com/googleapis/gax-go/v2 v2.1.1
go: downloading google.golang.org/protobuf v1.27.1
go: downloading google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c
go: downloading cloud.google.com/go/compute v1.3.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/golang/protobuf v1.5.2
werner@X10DAi:~$ which goodls
/home/werner/.go/bin/goodls
werner@X10DAi:~$ goodls -v
goodls version 2.0.1
C:\Users\sebbu> go version
go version go1.20.5 windows/amd64
C:\Users\sebbu>go install github.com/tanaikech/goodls@master
go: downloading github.com/tanaikech/goodls v1.2.9-0.20230405014506-a27fe110810e
go: github.com/tanaikech/goodls@master: github.com/tanaikech/[email protected]: parsing go.mod:
module declares its path as: goodls
but was required as: github.com/tanaikech/goodls
same error on windows 10, but master just gives a different error (latest gives the same error).