Open bitrot-alpha opened 4 years ago
Fedora 33
sudo dnf install -y openssl-devel ffmpeg-devel boost-devel boost-static.x86_64 pulseaudio-libs-devel opus-devel libXtst-devel libX11-devel libXfixes-devel libevdev-devel libxcb-devel
Also I had to change DISPLAY to :1 in sunshine.service.
Here are my build steps on a fresh install of Fedora 33
sudo dnf group install "Development Tools"
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install -y openssl-devel ffmpeg-devel boost-devel boost-static.x86_64 pulseaudio-libs-devel opus-devel libXtst-devel libX11-devel libXfixes-devel libevdev-devel libxcb-devel cmake
git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules
cd sunshine/
mkdir build
cd build/
cmake ..
make
Here are my build steps on a fresh install of Fedora 33
sudo dnf group install "Development Tools" sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm sudo dnf install -y openssl-devel ffmpeg-devel boost-devel boost-static.x86_64 pulseaudio-libs-devel opus-devel libXtst-devel libX11-devel libXfixes-devel libevdev-devel libxcb-devel cmake git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules cd sunshine/ mkdir build cd build/ cmake .. make
This should be on the front page for Fedora or pinned at the top for issues. I can confirm it works.
just tried on Fedora 35. I also required the libXrandr-devel
package.
sudo dnf group install "Development Tools"
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install -y openssl-devel ffmpeg-devel boost-devel boost-static.x86_64 pulseaudio-libs-devel opus-devel libXtst-devel libX11-devel libXrandr-devel libXfixes-devel libevdev-devel libxcb-devel cmake
git clone https://github.com/loki-47-6F-64/sunshine.git --recurse-submodules
cd sunshine/
mkdir build
cd build/
cmake ..
make
Fedora has slightly different conventions and package names, the Boost libraries they use are slightly different as well. I installed all the dependencies, but sunshine still won't build.
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find Boost (missing: log filesystem) (found version "1.69.0")
Boost is installed, but for whatever reason, CMake doesn't like it.