pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52644: 'go build' command fails with 'undefined' variable error.



On Sun, Oct 29, 2017 at 12:35 PM, Utkarsh Anand <uanand009%gmail.com@localhost> wrote:
> I don't have git on the VM due to dependency issue.
> I manually copied it the the appropriate location, i.e.
> $GOPATH/src/github.com/google/syzkaller

Then that's probably your issue. There are one or more missing
dependencies that are not in your GOPATH. Here is how to get this
working:

On you local machine, do:

mkdir /tmp/go
export GOPATH=/tmp/go
go get github.com/google/syzkaller/...

Then, copy /tmp/go/src to your VM.


Home | Main Index | Thread Index | Old Index