Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation guidelines? #6

Closed
Jarzka opened this issue Oct 25, 2015 · 7 comments
Closed

Installation guidelines? #6

Jarzka opened this issue Oct 25, 2015 · 7 comments

Comments

@Jarzka
Copy link

Jarzka commented Oct 25, 2015

I think there sould be introductions on how to install this application.

@UndeRus
Copy link

UndeRus commented Nov 2, 2015

go get -u github.com/layeh/barnard/cmd/barnard then run binary $GOPATH/bin/barnard

@jsavage
Copy link

jsavage commented Dec 11, 2015

Hi,
I am really please to have found this because I have been looking for a light version of mumble for a headless raspberrypi for sometime. However, I am new to go so would appreciate further guidance that may also help others who follow.
I have installed go 1.5.2 on Raspberry Pi 2 using the pre-compiled tarball at http://dave.cheney.net/unofficial-arm-tarballs

I have installed sudo apt-get install libopenal1 libopenal-dev (v1:1.15.1-5)
I have previously tried to install dependencies and compile with
go get github.com/layeh/barnard
which reported:

../../../layeh/gumble/gumble_openal/gumble_openal.go:104: undefined: openal.DeleteBuffer

I then saw the above guidelines and tried:
go get -u github.com/layeh/barnard/cmd/barnard which resulted in the following:

pkg-config --cflags opus opus

Package opus was not found in the pkg-config search path.
Perhaps you should add the directory containing opus.pc' to the PKG_CONFIG_PATH environment variable No package 'opus' found Package opus was not found in the pkg-config search path. Perhaps you should add the directory containingopus.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opus' found
pkg-config: exit status 1

github.com/layeh/gumble/gumble_openal
../../../layeh/gumble/gumble_openal/gumble_openal.go:104: undefined: openal.DeleteBuffer

The opus codec libopus0 was already installed but not the -dev package so following a hunch I think I have fixed this with
sudo apt-get install libopus-dev

So I am now left with the openal.DeleteBuffer error. Any hints on how to resolve that?

@ghost
Copy link

ghost commented Dec 11, 2015

@jsavage One of the dependencies changed it's API. I have just updated the appropriate code, so try running the following command again:

go get -u github.com/layeh/barnard/cmd/barnard

@jsavage
Copy link

jsavage commented Dec 11, 2015

Wonderful - thank you - it now compiles.

@branstraub
Copy link

Quick question: How do u set GoPath I'm having quite a struggle with it. When trying to download the project

pi@raspberrypi:~/go/bin $ ./go get -u github.com/layeh/barnard/cmd/barnard
package github.com/layeh/barnard/cmd/barnard: cannot download, $GOPATH not set. For more details see: go help gopath

Regards,

@Hiradur
Copy link

Hiradur commented Apr 30, 2016

@branstraub
Enter this in your terminal before you start the installation:

export GOPATH=/home/username/go-apps # adapt username!

@njaxx njaxx mentioned this issue Aug 19, 2016
@Bennig1
Copy link

Bennig1 commented Jan 31, 2017

Hallo I tray to install barnard now sins 2 days but i have problems ;(
my steps
Clean Raspberry pi Zero
OS: Rasspian

1 step after the installation and the network config

i install Git , mercurial, Go

Git
$ sudo apt-get install git

Go
$ sudo apt-get install golang

mercurial

$ sudo apt-get install mercurial

My next step

$ sudo mkdir -p /home/user/go-apps/src
cd /home/user/go-apps/src
$ sudo export GOPATH=/home/user/go-apps
$ sudo git clone https://github.com/layeh/barnard.git
cd barnard
go get

and now i get the problems see the picture

https://www.dropbox.com/s/ixhm5nswmf9qa64/IMG_3614.JPG?dl=0

can anyone help me what i do wrong. i am a Raspberry newbie but i like the project idee.

@ghost ghost closed this as completed in 8462240 May 8, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants