schollz / musicsaur

Music synchronization from your browser.
https://radio.schollz.com/
MIT License
281 stars 17 forks source link

Error when installing #41

Closed BluGeni closed 8 years ago

BluGeni commented 8 years ago

When i run go get./... I get this error :

:~/musicsaur$ go get ./... package github.com/BurntSushi/toml: cannot download, $GOPATH not set. For more details see: go help gopath package github.com/bobertlo/go-id3/id3: cannot download, $GOPATH not set. For more details see: go help gopath package github.com/mholt/caddy/caddy: cannot download, $GOPATH not set. For more details see: go help gopath package github.com/tcolgate/mp3: cannot download, $GOPATH not set. For more details see: go help gopath Segmentation fault (core dumped)

schollz commented 8 years ago

You need to set your GOPATH. Make a folder somewhere to store the dependencies (e.g. mkdir $HOME/work) and then set the path with export GOPATH=$HOME/work. More info here.