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

deadbeef.h missing? #6

Open
soratoyuki opened this issue Mar 30, 2023 · 1 comment
Open

deadbeef.h missing? #6

soratoyuki opened this issue Mar 30, 2023 · 1 comment

Comments

@soratoyuki
Copy link

Hello. Pop OS 22.04 with Gnome. I'm sadly new to this, and I'm sure it's user error, but I'm unable to get this (or other...) plugins to work. I've downloaded the .tar.xz file to ~/.local/lib/deadbeef (which I had to create), but the terminal commands give me two issues:

/deadbeef-mpris-plugin-1.14 isn't the directory created--deadbeef-1.14 is. So I cd into that folder instead and run ./configure and then make install and get this error:

CC src/mpris_la-mpris.lo
In file included from src/mpris.c:3:
src/mprisServer.h:9:10: fatal error: deadbeef/deadbeef.h: No such file or directory
9 | #include <deadbeef/deadbeef.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:508: src/mpris_la-mpris.lo] Error 1

Can anyone advise?

@soratoyuki
Copy link
Author

soratoyuki commented Mar 30, 2023

I found this post from 2015 detailing the same issue, and that seems to have worked for me. If other people have the same issue I did, slightly edited install instructions that worked for me are:

$ tar -xf deadbeef-mpris2-plugin-1.14.tar.xz
$ cd deadbeef-1.14
$ ./configure
$ env CPPFLAGS="$CPPFLAGS -I/opt/deadbeef/include/" ./configure --prefix=/opt/deadbeef
$ make
$ sudo make install
$ sudo rm /opt/deadbeef/lib/deadbeef/mpris.la

What that actually does is partially a mystery to me, but hopefully it's meaningful to people are are less noobish with Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant