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

Fails to install on macOS 13.4.1 (c) #12

Open
yougotwill opened this issue Jul 23, 2023 · 9 comments
Open

Fails to install on macOS 13.4.1 (c) #12

yougotwill opened this issue Jul 23, 2023 · 9 comments
Labels

Comments

@yougotwill
Copy link

==> Fetching thefox/brewery/cmus-control
==> Downloading https://github.com/TheFox/cmus-control/archive/v1.2.0.tar.gz
==> Downloading from https://codeload.github.com/TheFox/cmus-control/tar.gz/refs/tags/v1.2.0
#=O#-     #        #                                                                                                          
==> Installing cmus-control from thefox/brewery
==> ./bin/build_release.sh
Last 15 lines from /Users/neon/Library/Logs/Homebrew/cmus-control/01.build_release.sh:
-- CMAKE_OSX_DEPLOYMENT_TARGET: '10.8'
-- CMAKE_OSX_SYSROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk'

-- Configuring done (7.3s)
-- Generating done (1.0s)
-- Build files have been written to: /tmp/cmus-control-20230723-39891-1rnyir/cmus-control-1.2.0/build/release
+ make
[ 66%] Building C object CMakeFiles/cmuscontrold.dir/src/main.m.o
[ 66%] Building C object CMakeFiles/cmuscontrold.dir/src/classes/CCApplication.m.o
[100%] Linking C executable bin/cmuscontrold
ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/cmuscontrold] Error 1
make[1]: *** [CMakeFiles/cmuscontrold.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/thefox/homebrew-brewery/issues
@realeinherjar
Copy link

You need to have XCode available. Try to run xcode-select --install

@yougotwill
Copy link
Author

I already have it installed.

@realeinherjar
Copy link

I installed without problems in 13.5.2

@yougotwill
Copy link
Author

Still fails for me on 13.5.2 with the same error. Looking online it might be related to updating the build target to a later version of macOS.

@TheFox
Copy link
Owner

TheFox commented Sep 18, 2023

@realeinherjar Which architecture are you using? (Intel or Apple Chip?)

@yougotwill Hi. Thank you for opening this issue. Which architecture are you using? (Intel or Apple Chip?)

@yougotwill
Copy link
Author

@TheFox Hey, thanks for your reply. I'm using Intel and tried on two different machines a MacBook Pro 2018 and iMac 2019

@realeinherjar
Copy link

@realeinherjar Which architecture are you using? (Intel or Apple Chip?)

Apple Silicon, but I am using cmake to install it, no brew.

@TheFox TheFox added the support label Nov 2, 2023
@thooams
Copy link

thooams commented Jan 6, 2025

Download the lib from https://github.com/yuehuig/libarclite?tab=readme-ov-file and move the "arc" folder to /Library/Developer/CommandLineTools/usr/lib for my case and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/ for your case @yougotwill

@yougotwill
Copy link
Author

Download the lib from yuehuig/libarclite and move the "arc" folder to /Library/Developer/CommandLineTools/usr/lib for my case and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/ for your case @yougotwill

Thanks for the heads up. Haven't used cmus as often these days but when I do I will give it a try 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants