snapcast icon indicating copy to clipboard operation
snapcast copied to clipboard

Two failures during compilation on Raspberry Pi

Open holybladder opened this issue 1 year ago • 3 comments

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

  1. Checked that git and all dependencies were installed
  2. Ran "git clone https://github.com/badaix/snapcast.git"
  3. "cd snapcast"
  4. "make" - Make fails because makefiles not present
  5. Ran "git checkout master" - this checked out makefiles (saw it on a forum, don't know enough to understand why this worked, sorry)
  6. "make" - make now found makefiles and ran through correctly
  7. "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

holybladder avatar May 18 '23 13:05 holybladder

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

kingosticks avatar May 18 '23 15:05 kingosticks

That worked, thank you!

holybladder avatar May 18 '23 16:05 holybladder

Documentation is updated: 18c4a986a68a9b58bf2bd50479cdfeb8a8534090

badaix avatar Jul 12 '23 15:07 badaix

Fixed in version 0.28.0

badaix avatar Apr 19 '24 16:04 badaix