Do I need to install any C related thing for this vgo tool? Why the normal 
Go tool work normal (I'm able to run go get for the lib/pq package) 

> $ go version
> go version go1.10.1 linux/amd64
> $ vgo version
> go version go1.10.1 linux/amd64 vgo:2018-02-20.1
> $ vgo get github.com/lib/pq
> # runtime/cgo
> _cgo_export.c:2:10: fatal error: 'stdlib.h' file not found
>

 

> $ vgo env
> GOARCH="amd64"
> GOBIN=""
> GOCACHE="/home/nvcnvn/.cache/go-build"
> GOEXE=""
> GOHOSTARCH="amd64"
> GOHOSTOS="linux"
> GOOS="linux"
> GOPATH="/home/nvcnvn/go"
> GOPROXY=""
> GORACE=""
> GOROOT="/home/nvcnvn/goroot"
> GOTMPDIR=""
> GOTOOLDIR="/home/nvcnvn/goroot/pkg/tool/linux_amd64"
> GCCGO="gccgo"
> CC="clang"
> CXX="clang++"
> CGO_ENABLED="1"
> CGO_CFLAGS="-g -O2"
> CGO_CPPFLAGS=""
> CGO_CXXFLAGS="-g -O2"
> CGO_FFLAGS="-g -O2"
> CGO_LDFLAGS="-g -O2"
> PKG_CONFIG="pkg-config"
> GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments 
> -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build825937571=/tmp/go-build 
> -gno-record-gcc-switches"
>
 


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to