Closed tomsimmons78 closed 2 years ago
OK, it seems that the command should be
go install tryffel.net/go/jellycli@latest
That resulted in
go: downloading tryffel.net/go/jellycli v0.8.1
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
go: downloading github.com/spf13/viper v1.7.1
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go: downloading golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
go: downloading github.com/denisbrodbeck/machineid v1.0.1
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/patrickmn/go-cache v2.1.0+incompatible
go: downloading github.com/gdamore/tcell v1.3.0
go: downloading tryffel.net/go/twidgets v0.0.0-20201205133438-50358e1e5e51
go: downloading github.com/godbus/dbus v4.1.0+incompatible
go: downloading github.com/faiface/beep v1.0.1
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading gopkg.in/yaml.v2 v2.2.8
go: downloading gitlab.com/tslocum/cview v1.4.5
go: downloading golang.org/x/sys v0.0.0-20200509044756-6aff5f38e54f
go: downloading github.com/mattn/go-colorable v0.1.4
go: downloading github.com/gdamore/encoding v1.0.0
go: downloading github.com/lucasb-eyer/go-colorful v1.0.3
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/mewkiz/flac v1.0.5
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/hajimehoshi/oto v0.3.1
go: downloading github.com/jfreymuth/oggvorbis v1.0.0
go: downloading github.com/hajimehoshi/go-mp3 v0.1.1
go: downloading github.com/rivo/uniseg v0.1.0
go: downloading github.com/mattn/go-isatty v0.0.8
go: downloading github.com/jfreymuth/vorbis v1.0.0
# github.com/hajimehoshi/oto
go/pkg/mod/github.com/hajimehoshi/oto@v0.3.1/driver_linux.go:23:10: fatal error: alsa/asoundlib.h: No such file or directory
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
Looking at hajimehoshi oto, it looks like I need to run
sudo apt install libasound2-dev
Which completed, so the then tried
go install tryffel.net/go/jellycli@latest
again, but this pauses for a few seconds then returns to the prompt, no error, not output. There isn't a jellycli folder created
Seems like Readme is outdated when it comes to using Go tool.
It should still work by cloning the repository with Git:
git clone https://github.com/tryffel/jellycli
Using git clone, then proceeding with the build worked fine
Thanks for your help
I'm attempting to build and install this for use on a headless Raspbery Pi.
I've install the most recent version of Go - 1.18.3
However it would appear that go get is not longer the correct way of doing things, it seems to want me to use go install?
Any help would be gratefully received.
Tom