I have installed golang in my Fedora 20 laptop. S to be dynamic I have not
Set my GOPATH instead i will use export GOPATH=$HOME/GO/go every time I
open my terminal.
Now the problem is I am getting an error when I compile a program. I am
getting go install: no install location for .go files listed on command
line (GOBIN not set) . I had used go in my old desktop few months
I didn't n have any issue then.
Below is the result of go env command.
GOARCH="amd64"
GOBIN="/home/rpanicker/Go/go/bin"
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/rpanicker/Go/go"
GORACE=""
GOROOT="/usr/lib64/golang"
GOTOOLDIR="/usr/lib64/golang/pkg/tool/linux_amd64"
TERM="dumb"
CC="gcc"
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
CXX="g++"
CGO_ENABLED="1"
Regards
Robin
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.