umanovskis / remarkable-cloud-browser

A Web interface to browse reMarkable tablet files stored in the cloud
MIT License
14 stars 0 forks source link

How do I get the dependencies? #2

Open tilusnet opened 2 years ago

tilusnet commented 2 years ago

go build fails with:

remarkable-cloud-browser$ go build
../../../go/src/github.com/adrg/sysfont/finder.go:9:2: cannot find package "github.com/adrg/xdg" in any of:
    /snap/go/9605/src/github.com/adrg/xdg (from $GOROOT)
    /home/user/go/src/github.com/adrg/xdg (from $GOPATH)
../../../go/src/github.com/juruen/rmapi/api/api.go:6:2: cannot find package "github.com/golang-jwt/jwt" in any of:
    /snap/go/9605/src/github.com/golang-jwt/jwt (from $GOROOT)
    /home/user/go/src/github.com/golang-jwt/jwt (from $GOPATH)
../../../go/src/github.com/unidoc/unipdf/render/internal/context/imagerender/imagerender.go:12:52: cannot find package "github.com/unidoc/freetype/raster" in any of:
    /snap/go/9605/src/github.com/unidoc/freetype/raster (from $GOROOT)
    /home/user/go/src/github.com/unidoc/freetype/raster (from $GOPATH)
../../../go/src/github.com/unidoc/unipdf/render/internal/context/context.go:12:38: cannot find package "github.com/unidoc/freetype/truetype" in any of:
    /snap/go/9605/src/github.com/unidoc/freetype/truetype (from $GOROOT)
    /home/user/go/src/github.com/unidoc/freetype/truetype (from $GOPATH)
../../../go/src/github.com/unidoc/unipdf/creator/creator.go:17:60: cannot find package "github.com/unidoc/unichart/render" in any of:
    /snap/go/9605/src/github.com/unidoc/unichart/render (from $GOROOT)
    /home/user/go/src/github.com/unidoc/unichart/render (from $GOPATH)
../../../go/src/github.com/juruen/rmapi/config/config.go:11:2: cannot find package "gopkg.in/yaml.v2" in any of:
    /snap/go/9605/src/gopkg.in/yaml.v2 (from $GOROOT)
    /home/user/go/src/gopkg.in/yaml.v2 (from $GOPATH)
tilusnet commented 2 years ago

I narrowed the list down to

../../../go/src/github.com/unidoc/freetype/truetype/face.go:12:2: code in directory /home/user/go/src/github.com/unidoc/freetype/raster expects import "github.com/golang/freetype/raster"
../../../go/src/github.com/unidoc/unipdf/render/internal/context/context.go:12:38: code in directory /home/user/go/src/github.com/unidoc/freetype/truetype expects import "github.com/golang/freetype/truetype"

I can't get these with go get ....