Closed deisi closed 1 year ago
Same on Arch Linux, here's a log. snapcast-log.txt
I am no C++ wizard, but this appears to be the 0.27 release that's broken. If you pull the source and use the develop branch, i can get past this, at least on Arch. Would love if a new release could get cut sooner rather than later so at least Arch can be fixed.
Try to use cmake. See #1134
I sure did. cmake generates the traditional Makefile, and then we get the errors above. Just trying to install snapcast using pacman or yay is enough to generate the error as it stands. But I did successfully build it from the develop
branch, so I suspect there's just something in the build chain on master
that's out of date, but I only know enough C+++ to be dangerous 😆
Okay thanks for the cmake and the develop branch tip. This made it work for me again. In case someone wants a dockerfile, this is what I used to build:
FROM fedora-toolbox:38
# Needed to run snapcast within a toolbox
RUN sudo dnf install -y pulseaudio-utils pipewire-pulseaudio
# Needed to build sapcast
RUN sudo dnf install -y @development-tools
RUN sudo dnf install -y cmake alsa-lib-devel avahi-devel gcc-c++ libatomic libvorbis-devel opus-devel pulseaudio-libs-devel flac-devel soxr-devel libstdc++-static expat-devel boost-devel
RUN git clone https://github.com/badaix/snapcast.git && \
cd snapcast && \
mkdir build && \
cd build && \
cmake .. && \
make -j 16 && \
cd .. && \
mv bin/snapclient /usr/bin/snapclient && \
mv bin/snapserver /usr/bin/snapserver && \
cd .. && \
rm -rf snapcast
Describe the bug Make fails with fedora 38
Steps to Reproduce
Environment details
Attach logfile if applicable
full.log