layeh / gumble

gumble is a Mumble client implementation in Go (golang)
https://pkg.go.dev/mod/layeh.com/gumble
Mozilla Public License 2.0
173 stars 53 forks source link

How to install #28

Closed ZenPs closed 8 years ago

ZenPs commented 8 years ago

Hi, i'm tryting to install it with:

go get -u github.com/layeh/gopus
# pkg-config --cflags 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
exit status 1
go get -u github.com/layeh/gumble/tree/master/opus

package github.com/layeh/gumble/tree/master/opus
        imports github.com/layeh/gumble/tree/master/opus
        imports github.com/layeh/gumble/tree/master/opus: cannot find package "github.com/layeh/gumble/tree/master/opus" in any of:
        /usr/lib/go/src/pkg/github.com/layeh/gumble/tree/master/opus (from $GOROOT)
        /home/pi/gostuff/src/github.com/layeh/gumble/tree/master/opus (from $GOPATH)

but as you see they don't work... how can i fix it?

LiveITA commented 8 years ago

same issue here

go get -u github.com/layeh/opus
Username for 'https://github.com': LiveITA
Password for 'https://LiveITA@github.com':
# cd .; git clone https://github.com/layeh/opus /home/pi/gostuff/src/github.com/layeh/opus
Cloning into '/home/pi/gostuff/src/github.com/layeh/opus'...
remote: Repository not found.
fatal: repository 'https://github.com/layeh/opus/' not found
package github.com/layeh/opus: exit status 128
ghost commented 8 years ago

You need to first install the opus development library. If you are on a Debian based distribution, this can be done be running:

sudo apt-get install -y libopus-dev

After that has completed, try installing gopus again:

go get -u github.com/layeh/gopus