Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunshine installation failed #3387

Closed
2 tasks done
zh88782 opened this issue Nov 11, 2024 · 7 comments
Closed
2 tasks done

Sunshine installation failed #3387

zh88782 opened this issue Nov 11, 2024 · 7 comments

Comments

@zh88782
Copy link

zh88782 commented Nov 11, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read 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:

  • 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

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:

  • 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

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
Copy link
Member

Duplicate of #3180

@ReenigneArcher ReenigneArcher marked this as a duplicate of #3180 Nov 11, 2024
@ReenigneArcher
Copy link
Member

This is also fixed in beta already

@clownchrys
Copy link

"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
Copy link
Author

zh88782 commented Nov 12, 2024

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

@zh88782
Copy link
Author

zh88782 commented Nov 12, 2024

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:

  • 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:19 (pkg_check_modules)
CMakeLists.txt:54 (include)

@zh88782
Copy link
Author

zh88782 commented Nov 12, 2024

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

@LizardByte LizardByte locked as off-topic and limited conversation to collaborators Nov 12, 2024
@ReenigneArcher
Copy link
Member

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

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants