LizardByte / Sunshine

Self-hosted game stream host for Moonlight.
http://app.lizardbyte.dev/Sunshine/
GNU General Public License v3.0
19.8k stars 956 forks source link

Sunshine installation failed #3387

Closed zh88782 closed 1 week ago

zh88782 commented 1 week ago

Is there an existing issue for this?

Is your issue described in the documentation?

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/open Last 15 lines from /Users/macos/Library/Logs/Homebrew/sunshine/01.cmake: -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") -- Checking for module 'libcurl' -- Package 'ldap', required by 'libcurl', not found CMake Error at /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:645 (message): The following required packages were not found:

Call Stack (most recent call first): /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal) cmake/dependencies/common.cmake:16 (pkg_check_modules) CMakeLists.txt:50 (include)

-- 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

Expected Behavior

use brew tap LizardByte/homebrew brew install sunshine perhaps brew tap LizardByte/homebrew brew install sunshine-beta Not even possible use mkdir -p ~/ports/multimedia/sunshine cd ~/ports/multimedia/sunshine curl -OL https://github.com/LizardByte/Sunshine/releases/latest/download/Portfile cd ~/ports portindex sudo port install sunshine
It also indicates installation failure A few months ago, I successfully installed it once. Recently, due to some reasons, I uninstalled it and wanted to reinstall it. However, I encountered the error mentioned above, which has been bothering me for several days. Can you help me find a solution? Thank you

Additional Context

==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/open Last 15 lines from /Users/macos/Library/Logs/Homebrew/sunshine/01.cmake: -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") -- Checking for module 'libcurl' -- Package 'ldap', required by 'libcurl', not found CMake Error at /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:645 (message): The following required packages were not found:

Call Stack (most recent call first): /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal) cmake/dependencies/common.cmake:16 (pkg_check_modules) CMakeLists.txt:50 (include)

-- 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

Host Operating System

macOS

Operating System Version

Sonoma

Architecture

amd64/x86_64

Sunshine commit or version

0.29.2

Package

macOS - Homebrew

GPU Type

AMD

GPU Model

6600XT

GPU Driver/Mesa Version

unknown

Capture Method

None

Config

No response

Apps

No response

Relevant log output

==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/open
Last 15 lines from /Users/macos/Library/Logs/Homebrew/sunshine/01.cmake:
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcurl'
--   Package 'ldap', required by 'libcurl', not found
CMake Error at /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - libcurl

Call Stack (most recent call first):
  /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  cmake/dependencies/common.cmake:16 (pkg_check_modules)
  CMakeLists.txt:50 (include)

-- 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
ReenigneArcher commented 1 week ago

Duplicate of #3180

ReenigneArcher commented 1 week ago

This is also fixed in beta already

clownchrys commented 1 week ago

"ldap" related lib-curl problem is fixed in beta, but "mit-krb5-gssapi" related one is still in error

logs are followings:

==> Installing lizardbyte/homebrew/sunshine-beta
==> Building docs: disabled
==> Disabled statically linking Boost libraries
==> cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPE
Last 15 lines from /Users/chan/Library/Logs/Homebrew/sunshine-beta/01.cmake:
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcurl'
--   Package 'mit-krb5-gssapi', required by 'libcurl', not found
CMake Error at /usr/local/Cellar/cmake/3.31.0/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - libcurl

Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.31.0/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  cmake/dependencies/common.cmake:19 (pkg_check_modules)
  CMakeLists.txt:54 (include)

-- 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
zh88782 commented 6 days ago

It doesn't solve the problem of repeated installation even after dozens of times

zh88782 commented 6 days ago

cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPE Last 15 lines from /Users/macos/Library/Logs/Homebrew/sunshine-beta/01.cmake: -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") -- Checking for module 'libcurl' -- Package 'mit-krb5-gssapi', required by 'libcurl', not found CMake Error at /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:645 (message): The following required packages were not found:

Call Stack (most recent call first): /usr/local/opt/cmake/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal) cmake/dependencies/common.cmake:19 (pkg_check_modules) CMakeLists.txt:54 (include)

zh88782 commented 6 days ago

sudo rm -rf "$(brew --cache --build-from-source sunshine-beta)" brew install sunshine-beta Keep reporting this error

ReenigneArcher commented 6 days ago

This issue is a duplicate, and closed. Solutions are listed in the pinned duplicate issue.