[求助]macos 安装 sunshine 遇到问题了

24 天前
 lyfeixue316
macbook pro 2019
os:15.0.1


https://docs.lizardbyte.dev/projects/sunshine/en/latest/building/macos.html
无论是 brew 还是 ports
安装都是失败的

ports 安装:
---> Computing dependencies for Sunshine
---> Building Sunshine
Error: Failed to build Sunshine: command execution failed
Error: See /opt/local/var/macports/logs/_Users_gongdao_ports_multimedia_sunshine/Sunshine/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port Sunshine failed

:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_gongdao_ports_multimedia_sunshine/Sunshine/work/build'
:info:build [ 36%] Built target web-ui
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_gongdao_ports_multimedia_sunshine/Sunshine/work/build'
:info:build make[1]: *** [tests/CMakeFiles/test_sunshine.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_Users_gongdao_ports_multimedia_sunshine/Sunshine/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_Users_gongdao_ports_multimedia_sunshine/Sunshine/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_Users_gongdao_ports_multimedia_sunshine/Sunshine/work/build" && /usr/bin/make -j12 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build Sunshine: command execution failed
:debug:build Error code: CHILDSTATUS 33447 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
887 次点击
所在节点    程序员
3 条回复
ccc00
24 天前
brew 安装正式版 sunshine 会有编译报错,等修复吧
相关 issue:
https://github.com/LizardByte/Sunshine/issues/3052
暂时解决方法: 安装 beta 版
brew install sunshine-beta
lyfeixue316
23 天前
@ccc00 晚上回去试试,这个错误好尴尬,完全看不懂
lyfeixue316
23 天前
==> Installing lizardbyte/homebrew/sunshine-beta
==> Building docs: disabled
==> Disabled statically linking Boost libraries
==> cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 -DSUNSHINE_ASSETS
Last 15 lines from /Users/xxxxxxxxx/Library/Logs/Homebrew/sunshine-beta/01.cmake:

/tmp/sunshine-beta-20241030-63319-fzoy6i/third-party/Simple-Web-Server

does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
CMakeLists.txt:54 (include)


-- Found OpenSSL: /usr/local/opt/openssl@3/lib/libcrypto.dylib (found version "3.4.0")
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcurl'
-- Found libcurl, version 8.10.1
-- Checking for module 'miniupnpc'
-- Found miniupnpc, version 2.2.8
-- Configuring incomplete, errors occurred!

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/lizardbyte/homebrew-homebrew/issues

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1084159

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX