snapcast
snapcast copied to clipboard
Two failures during compilation on Raspberry Pi
Describe the bug Compilation fails at two steps during installation on Raspberry Pi when following instructions at https://github.com/badaix/snapcast/blob/develop/doc/build.md#raspberry-pi-cross-compile (was able to resolve the first but not the second)
Describe the bug Makefiles not initially present,
Steps to Reproduce
- Checked that git and all dependencies were installed
- Ran "git clone https://github.com/badaix/snapcast.git"
- "cd snapcast"
- "make" - Make fails because makefiles not present
- Ran "git checkout master" - this checked out makefiles (saw it on a forum, don't know enough to understand why this worked, sorry)
- "make" - make now found makefiles and ran through correctly
- "make installclient" - this failed with the following output:
make install -C client make[1]: Entering directory '/home/pi/New/snapcast/client' make adduser make[2]: Entering directory '/home/pi/New/snapcast/client' sh ../debian/snapclient.postinst configure sh: 0: cannot open ../debian/snapclient.postinst: No such file make[2]: *** [Makefile:181: adduser] Error 2 make[2]: Leaving directory '/home/pi/New/snapcast/client' make[1]: *** [Makefile:145: install] Error 2 make[1]: Leaving directory '/home/pi/New/snapcast/client' make: *** [Makefile:22: installclient] Error 2
Environment details Raspberry Pi 3B+ running fresh Pi OS Bullseye installation Snapcast straight from git
Attach logfile if applicable No log possible, install failed
The wiki has been outdated for some time but I believe it's now cmake
rather than make
. You can see this working in the GH Actions logs at https://github.com/badaix/snapcast/actions
That worked, thank you!
Documentation is updated: 18c4a986a68a9b58bf2bd50479cdfeb8a8534090
Fixed in version 0.28.0