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.
The following reply was made to PR pkg/52644; it has been noted by GNATS.
From: Benny Siegert <bsiegert%netbsd.org@localhost>
To: Utkarsh Anand <uanand009%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/52644: 'go build' command fails with 'undefined' variable error.
Date: Sun, 29 Oct 2017 12:58:09 +0100
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