unable to make install - file not found error
Ja-sonYun opened this issue · 4 comments
Ja-sonYun commented
When I run make install, below is what I got.
❯ make install
go build -v
golang.org/x/sys/internal/unsafeheader
golang.org/x/net/html/atom
golang.org/x/text/encoding/internal/identifier
golang.org/x/text/internal/utf8internal
github.com/Pauloo27/tuner/icons
golang.org/x/text/internal/tag
golang.org/x/text/transform
golang.org/x/sys/unix
golang.org/x/net/html
golang.org/x/text/language
github.com/Pauloo27/tuner/player/mpv
github.com/buger/jsonparser
github.com/grafov/m3u8
golang.org/x/text/encoding
golang.org/x/text/runes
github.com/pkg/errors
golang.org/x/text/encoding/internal
golang.org/x/text/encoding/charmap
golang.org/x/text/encoding/japanese
golang.org/x/text/encoding/korean
# github.com/Pauloo27/tuner/player/mpv
player/mpv/consts.go:3:10: fatal error: 'mpv/client.h' file not found
#include <mpv/client.h>
^~~~~~~~~~~~~~
1 error generated.
golang.org/x/text/encoding/simplifiedchinese
golang.org/x/text/encoding/traditionalchinese
golang.org/x/text/encoding/unicode
github.com/zackradisic/soundcloud-api
golang.org/x/term
github.com/Pauloo27/keyboard
github.com/Pauloo27/tuner/utils
github.com/Pauloo27/tuner/command
github.com/Pauloo27/tuner/search
golang.org/x/text/encoding/htmlindex
github.com/Pauloo27/tuner/storage
golang.org/x/net/html/charset
github.com/anaskhan96/soup
github.com/Pauloo27/tuner/lyric
make: *** [build] Error 2
pauloo27 commented
Hello.
For some reason it couldn't find libmpv
. Which distro are you using and how have you installed mpv?
Ja-sonYun commented
I'm using mac os big sur and I used homebrew to install mpv. Is there any other way to install or download libmpv?
pauloo27 commented
I did some search about that and I think you can use brew to get libmpv as well:
brew install --enable-libmpv-shared mpv
Or maybe with this one:
brew install --with-libmpv mpv
Can you try to uninstall mpv and install it again using this parameters?
Ja-sonYun commented
I tried with those parameters, but it wasn't work.
I think I have to find other tool..