[SOLVED] Building containerd for Slackware 14.2 with the Slackbuild
by Moun from LinuxQuestions.org on (#5Q8SA)
(Problem solved reported here in case it could be useful.)
I got an error when building containerd with the Slackbuild.
Code:+ bin/ctr
go: cannot find main module, but found vendor.conf in /tmp/SBo/containerd-1.4.3
to create a module there, run:
go mod init
Makefile:193: recipe for target 'bin/ctr' failed
make: *** [bin/ctr] Error 1Which is obviously the same issue reported in Github memory.
The provided solution in the link above worked:
Code:$ GO111MODULE=auto ./containerd.SlackBuild
I got an error when building containerd with the Slackbuild.
Code:+ bin/ctr
go: cannot find main module, but found vendor.conf in /tmp/SBo/containerd-1.4.3
to create a module there, run:
go mod init
Makefile:193: recipe for target 'bin/ctr' failed
make: *** [bin/ctr] Error 1Which is obviously the same issue reported in Github memory.
The provided solution in the link above worked:
Code:$ GO111MODULE=auto ./containerd.SlackBuild