[求助]macos 安装 sunshine 遇到问题了 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要在回答技术问题时复制粘贴 AI 生成的内容
lyfeixue316
V2EX    程序员

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

  •  
  •   lyfeixue316 360 天前 2690 次点击
    这是一个创建于 360 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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"
    3 条回复    2024-10-30 01:03:38 +08:00
    ccc00
        1
    ccc00  
       360 天前 via iPhone
    brew 安装正式版 sunshine 会有编译报错,等修复吧
    相关 issue:
    https://github.com/LizardByte/Sunshine/issues/3052
    暂时解决方法: 安装 beta 版
    brew install sunshine-beta
    lyfeixue316
        2
    lyfeixue316  
    OP
       359 天前
    @ccc00 晚上回去试试,这个错误好尴尬,完全看不懂
    lyfeixue316
        3
    lyfeixue316  
    OP
       359 天前
    ==> 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
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     992 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 24ms UTC 18:33 PVG 02:33 LAX 11:33 JFK 14:33
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86