Code Monkey home page Code Monkey logo

Comments (7)

UndeRus avatar UndeRus commented on August 27, 2024

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

from barnard.

jsavage avatar jsavage commented on August 27, 2024

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?

from barnard.

 avatar commented on August 27, 2024

@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

from barnard.

jsavage avatar jsavage commented on August 27, 2024

Wonderful - thank you - it now compiles.

from barnard.

branstraub avatar branstraub commented on August 27, 2024

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,

from barnard.

Hiradur avatar Hiradur commented on August 27, 2024

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

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

from barnard.

Bennig1 avatar Bennig1 commented on August 27, 2024

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.

from barnard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.