Hi ppl
I want to install docker for my slackare 14.2 x86_64, although i have difficulties installing prerequisity package "runc" and the error it is when using the Go lang ot build it.
Error while installing runc
Code:
go build -i -gccgoflags "-X main.gitCommit=810190ceaa507aa2727d7ae6f4790c76ec150bd2 -X main.version=1.0.0-rc3" -tags "seccomp" -o runc .
build/src/github.com/opencontainers/runc/libcontainer/utils/cmsg.go:25:2: C source files not allowed when not using cgo: gccgo_c.c
Makefile:28: recipe for target 'runc' failed
make: *** [runc] Error 1
My environment var of Go lang
Code:
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib64/go1.8.4/go"
GOTOOLDIR="/usr/libexec/gcc/x86_64-slackware-linux/5.3.0"
CC="/usr/bin/gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="/usr/bin/g++"
CGO_ENABLED="1"
I didn't find at google something that worked....
Does anybody knows what is going on here???
and how could i solve the problem???