Compiling dsdplay for Logitech Media Server

thxtex

Dabbler
Joined
Dec 8, 2017
Messages
27
Hi

For Logitech Media Server to be able to play back .dsf files you need the plugin DSDPlayer. Since there are no prebuild FreeBSD packages, I'm trying to compile it myself.
This is my first attempt to compile anything and it's is not going well.
I'm trying to do it inside a jail and copy the final executable to my Logitech Server jail. I have done this so far.

Code:
echo '{"pkgs":["libsoxr","flac","bash","gmake","git"]}' > /tmp/pkg.json
iocage create -n "dsdplay_build" -p /tmp/pkg.json -r 11.3-RELEASE dhcp="on" vnet="on" bpf="yes" boot="on"
rm /tmp/pkg.json
iocage exec dsdplay_build "mkdir -p /tmp/dsdplay/"
iocage exec dsdplay_build "git clone https://github.com/SqueezeOnArch/dsdplay.git /tmp/dsdplay/"

Then I go into the jail and into tmp/src and type gmake.
The first errors I get are that it cannot find FLAC/stream_encoder.h and soxr.h. These are located in /usr/local/include but should be in /usr/include. Tried to copy them over just to see what happens then, but I get new errors.
Think I'm a bit stuck here. I most likely miss some basic setup.
Is there anyone who could take a look?

Thanks in advance...
Thomas
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
That's a Linux library. Maybe this FreeBSD audio thread can help.
 
Top