ctop icon indicating copy to clipboard operation
ctop copied to clipboard

Unable to build

Open asarubbo opened this issue 3 years ago • 0 comments

# wget https://github.com/bcicen/ctop/archive/refs/tags/v0.7.7.tar.gz
# tar xzf v0.7.7.tar.gz 
# cd ctop-0.7.7/
# make build
fatal: Not a git repository (or any of the parent directories): .git
go mod download
go: github.com/fsouza/[email protected] requires
        github.com/Microsoft/[email protected] requires
        github.com/containerd/[email protected]: invalid version: git fetch --unshallow -f origin in /root/go/pkg/mod/cache/vcs/7dc259a25d788a1983e1fa125424a7a8dbadf02fe44dd23233ef975e59c0f6f2: exit status 128:
        fatal: git fetch-pack: expected shallow list
make: *** [build] Errore 1

# go version
go version go1.16.13 linux/amd64

# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)

asarubbo avatar May 17 '22 13:05 asarubbo