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.



Yes, that's how I got it on my local machine and then
copied it to the VM. As I mentioned, it works on linux
and that's how I've been working on it. (So far, I've got
3 pull requests accepted and 1 is pending.)

Regards,
Utkarsh Anand

On 29 October 2017 at 17:28, Benny Siegert <bsiegert%netbsd.org@localhost> wrote:
> 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