V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lyfeixue316
V2EX  ›  程序员

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

  •  
  •   lyfeixue316 · 18 天前 · 776 次点击
    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  
       17 天前 via iPhone
    brew 安装正式版 sunshine 会有编译报错,等修复吧
    相关 issue:
    https://github.com/LizardByte/Sunshine/issues/3052
    暂时解决方法: 安装 beta 版
    brew install sunshine-beta
    lyfeixue316
        2
    lyfeixue316  
    OP
       17 天前
    @ccc00 晚上回去试试,这个错误好尴尬,完全看不懂
    lyfeixue316
        3
    lyfeixue316  
    OP
       16 天前
    ==> 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   ·   实用小工具   ·   5760 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 03:21 · PVG 11:21 · LAX 19:21 · JFK 22:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.