andrewstuart / dlite

An NNTP search/downloader written in go
MIT License
6 stars 0 forks source link

FYI: Packages needed #1

Closed sanderjo closed 5 years ago

sanderjo commented 8 years ago

A go build resulted in:

sander@flappie:~/git/dlite$ go build
download.go:13:2: cannot find package "github.com/andrewstuart/go-metio" in any of:
    /usr/lib/go/src/github.com/andrewstuart/go-metio (from $GOROOT)
    /home/sander/go/src/github.com/andrewstuart/go-metio (from $GOPATH)
cache.go:11:2: cannot find package "github.com/andrewstuart/go-nzb" in any of:
    /usr/lib/go/src/github.com/andrewstuart/go-nzb (from $GOROOT)
    /home/sander/go/src/github.com/andrewstuart/go-nzb (from $GOPATH)
config.go:10:2: cannot find package "github.com/andrewstuart/goapis" in any of:
    /usr/lib/go/src/github.com/andrewstuart/goapis (from $GOROOT)
    /home/sander/go/src/github.com/andrewstuart/goapis (from $GOPATH)
flag.go:9:2: cannot find package "github.com/andrewstuart/limio" in any of:
    /usr/lib/go/src/github.com/andrewstuart/limio (from $GOROOT)
    /home/sander/go/src/github.com/andrewstuart/limio (from $GOPATH)
config.go:11:2: cannot find package "github.com/andrewstuart/nntp" in any of:
    /usr/lib/go/src/github.com/andrewstuart/nntp (from $GOROOT)
    /home/sander/go/src/github.com/andrewstuart/nntp (from $GOPATH)
download.go:16:2: cannot find package "github.com/andrewstuart/yenc" in any of:
    /usr/lib/go/src/github.com/andrewstuart/yenc (from $GOROOT)
    /home/sander/go/src/github.com/andrewstuart/yenc (from $GOPATH)
config.go:8:2: cannot find package "gopkg.in/yaml.v2" in any of:
    /usr/lib/go/src/gopkg.in/yaml.v2 (from $GOROOT)
    /home/sander/go/src/gopkg.in/yaml.v2 (from $GOPATH)

which I could solve with:

go get "github.com/andrewstuart/go-metio"
go install "github.com/andrewstuart/go-metio"
go get "github.com/andrewstuart/go-nzb"
go install "github.com/andrewstuart/go-nzb"
go get "github.com/andrewstuart/goapis"
go install "github.com/andrewstuart/goapis"
go get "github.com/andrewstuart/limio"
go install "github.com/andrewstuart/limio"
go get "github.com/andrewstuart/nntp"
go install "github.com/andrewstuart/nntp"
go get "github.com/andrewstuart/yenc"
go install "github.com/andrewstuart/yenc"
go build

Maybe something for the REAMD.md ?

andrewstuart commented 8 years ago

Those should hopefully be retrieved if you run go get rather than just go build, which will grab any package and all its dependencies. :-)