#!/usr/bin/env bash open -a 'Safari' # /usr/bin/open -a 'Safari' # /usr/bin/open -a '/Applications/Safari' # /usr/bin/osascript -e 'tell application "Safari" to launch' 0528名称未設定2019/09/12(木) 19:02:18.71ID:WV4cBZn40 ターミナルからhomebridgeを起動させると、HomeKitからアプリの起動が出来るんですが、 launchctlでhomebridgeを起動させた場合はそれらが動かないです。 homebridgeのエラーは以下です。 appOpen.sh: line 3: open: command not found
以下のように変えると起動出来ました。 /usr/bin/open -a 'Safari'
しかし、実際に自分が起動させたいアプリはRoon.appというアプリなんですが、 /usr/bin/open -a 'Roon' と書くと、 LSOpenURLsWithRole() failed for the application /Applications/Roon.app with error -10810. とエラーが出てしまいます。
/usr/bin/open -a '/Applications/Roon' にした場合も FSPathMakeRef(/Applications/Roon) failed with error -43. というエラーになります。
http://ideone.com/tdbnfp0530名称未設定2019/09/12(木) 19:57:59.49ID:I8+s7SxF0 とりあえずこれかな https://apple.stackexchange.com/questions/181026/lsopenurlswithrole-failed-with-error-10810-cant-open-install-os-x-yosemite0531名称未設定2019/09/12(木) 21:01:26.53ID:+cW1PvKT0>>530 どうもありがとうございます /Applications/Roon.app/Contents/MacOS/Roon はすでに実行権限付いてました。あと、このファイル自体はシェルスクリプトでした。 動かない理由はシェルスクリプトだという事も関係してるんでしょうか? roonアプリが起動した状態でpsを見ると、 /Applications/Roon.app/Roon --debug --gc=sgen --server Roon.exe と /Applications/Roon.app/RAATServer --debug --gc=sgen --server RAATServer.exe の2つのプロセスが動いていました 0532名称未設定2019/09/13(金) 09:32:26.52ID:wcjK8Jfo0 シェルスクリプトならopen -a使わないでそのまま書けばいいんじゃないの ターミナルで /Applications/Roon.app/Contents/MacOS/Roon で実行できればだけど 0533名称未設定2019/10/12(土) 10:03:49.24ID:CO51z/RP0 $ brew update ... . . . Warning: You are using macOS 10.12. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience while you are running this old version.
==> Casks with `auto_updates` or `version :latest` will not be upgraded ==> Upgrading 10 outdated packages: Error: Cask 'cd-to' is unreadable: undefined method `undent' for #<String:0x00007f906f62d160>
こんなエラーになりアップグレードが出来なくなってしまいました。cd-toをアンインストールしようにも同じエラー何出てアンインストール出来ません。 どこを修正したらいいですか? 0545名称未設定2020/09/09(水) 09:25:23.43ID:g6Id8nd10https://teratail.com/questions/1508190546名称未設定2020/11/15(日) 12:42:42.13ID:EQQ2JAoJ0 11.0 Big Surどう? 0547名称未設定2020/11/15(日) 12:45:45.83ID:RqkzNfY+0 さー? 0548名称未設定2020/11/16(月) 23:52:52.98ID:lEBK849m0 Warning: You are using macOS 11.0. We do not provide support for this released but not yet supported version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this released but not yet supported version. 0549名称未設定2020/11/17(火) 07:32:14.71ID:62qjkSeC0 homebrewか ウチは目立った問題は無いな 0550名称未設定2020/11/17(火) 14:03:49.98ID:HJ/jQMeg0 M1号でシコシコビルドしてるわ 最近はbottleしか使わないからな 0551名称未設定2020/11/18(水) 15:31:10.45ID:GCiuY5Nz0 bigsurにて、pythonのpyobjcがビルド失敗して使えない😡 0552名称未設定2020/11/19(木) 13:52:11.21ID:LxQuk4bu0 githubにあるpyobjcのissuesに今週末辺りにリリースするpyobjc7で直すってあった つーかunixスレと間違えた>>5510553名称未設定2020/11/23(月) 18:35:44.93ID:DIpHW60m0>>548
Warning: You are using macOS 10.13. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this old version. 0554名称未設定2021/01/29(金) 18:19:03.95ID:JCst6WRD0 久しぶりにbrew updateしようとしたら
Error: homebrew-core is a shallow clone. To `brew update`, first run: git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow This command may take a few minutes to run due to the large size of the repository. This restriction has been made on GitHub's request because updating shallow clones is an extremely expensive operation due to the tree layout and traffic of Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you automatically to avoid repeatedly performing an expensive unshallow operation in CI systems (which should instead be fixed to not use shallow clones). Sorry for the inconvenience!
macOS標準(LDFLAGSは特になし) $ otool -L libfontconfig.1.dylib libfontconfig.1.dylib: /usr/local/lib/libfontconfig.1.dylib (compatibility version 12.0.0, current version 12.1.0) /usr/local/opt/freetype/lib/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.4.0) /usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
Homebrewのを指定(LDFLAGSで) $ otool -L libfontconfig.1.dylib libfontconfig.1.dylib: /usr/local/lib/libfontconfig.1.dylib (compatibility version 12.0.0, current version 12.1.0) /usr/local/opt/freetype/lib/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.4.0) /usr/local/opt/libxml2/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.10.0)
ちゃんと切り替わってる/選択されてるね
てか、同じ2.2やんけっ >デフォの libxml2 が古いようなので って、 *** SAX1 support in libxml2 is required. enable it or use expat instead. が出てるから?? (fontconfigのconfigureはなんかクセが強いw) 0567名称未設定2021/02/06(土) 03:30:18.26ID:sAFsH8HF0 ああ、dylibのファイル名でのバージョンは同じ 2.2 のようだが、 (compatibility version 10.0.0, current version 10.9.0) (compatibility version 12.0.0, current version 12.10.0) なのか 05685642021/02/06(土) 09:24:19.99ID:VkG+0Dj40 どうもありがとうございます!
>>566 >*** SAX1 support in libxml2 is required. enable it or use expat instead. >が出てるから?? ですね。んでこう言ってるくせにシステムにexpatがあっても見てくれないっていう
>(fontconfigのconfigureはなんかクセが強いw) なんですよw 0569名称未設定2021/02/06(土) 09:56:56.78ID:kD1HoEPh0 >>*** SAX1 support in libxml2 is required. enable it or use expat instead. >>が出てるから?? >ですね。んでこう言ってるくせにシステムにexpatがあっても見てくれないっていう configureのそこをチェックするとこがちょっと変なのか、macOSでのヘッダの置き方が変なのか、configureのそこが、 #include <libxml/xmlversion.h> #if !defined(LIBXML_SAX1_ENABLED) # include "error: No SAX1 support in libxml2" #endif ってなってる。単に libxml/xmlversion.h を一般的な include path では include できないだけだから、 -I/usr/include/libxml2 にすれば、通るよ(/usr/include が無いなら Xcode.appの中の /usr/include までのパス)
この部分と、Python3を要求するとこがハマったけど、この2つ通ればビルドできる 0570名称未設定2021/02/07(日) 01:54:49.77ID:LskiSzd00 cocoapodsはm1対応してないんだよね? 0571名称未設定2021/02/07(日) 20:47:10.08ID:pd0FyLe60 3.0.0は安定してる? 0572名称未設定2021/02/08(月) 19:50:59.45ID:svIyk6E50 HOMEBREW_BOOTSNAPは何がいいのか分からん。 実例で説明してるところはないのか? 0573名称未設定2021/02/08(月) 20:33:02.71ID:aKlw8tEL0https://github.com/Homebrew/brew/pull/10374 project leader 自らのがあるやん infoだけでもちょっとだけ速い。upgradeとかもっと早くなったりしないかな 0574名称未設定2021/03/03(水) 20:09:45.86ID:O4LNQGDf0 Intel MacでBig SurにアップしてHomebrewは無難に動いてるが iTerm2がなんかいろいろおかしかった スクロールバッファが効いてなくてスクロールしても真っ白だったり 0575名称未設定2021/03/15(月) 20:44:18.54ID:6DtDMbrr0 やっとGoがM1対応版になってHomebrewのパッケージもぼちぼち出てきてるな。 0576名称未設定2021/04/13(火) 13:45:09.52ID:ccFtf7/k0 Caskもアップデートできるようになったんだな 0577名称未設定2021/04/28(水) 14:31:25.55ID:q/SDl80z0 brew cask fontsからadobeのフォントなくなった 0578名称未設定2021/04/29(木) 20:20:34.06ID:wZDG4/Jc0 「あどべっ!」 0579名称未設定2021/04/29(木) 20:56:19.18ID:J2b7ajW+0 お前はもう・・・ 0580名称未設定2021/04/29(木) 23:07:55.71ID:Ryuiqfer0 Intel入ってる…!!! 0581◆WBRXcNtpf. 2021/05/23(日) 19:28:18.60ID:9DTHMnna0 /opt/local /opt/homebrew 0582名称未設定2021/05/29(土) 01:36:25.46ID:jwPgzW+20 すみません。 ターミナル超初心者なんですが困っています pyenvをインストールしてpython2.7.16の状態からpython3.6.8をインストールをしたのですが その後ググって出て来たコマンドを打ってloaclとglobalを切り替えようとしたところ何度やっても切り替わらず 一旦再起動したら最初に WARNING: `pyenv init -` no longer sets PATH. Run `pyenv init` to see the necessary changes to make to your configuration. が出るようになってしまいました
その後.zshrcや.bashの違いも分からず何度かコマンドを打ったりしたところ、、、 WARNING: `pyenv init -` no longer sets PATH. Run `pyenv init` to see the necessary changes to make to your configuration. がターミナル起動時に3回出るようになってしまいましたw
$ brew info --json mpfr | jq -r '.[].versioned_formulae[]' (何も表示されず) 06045992021/07/16(金) 00:30:42.10ID:NkTBD1pO0>>602 おっとどうも、とりあえずその中では 2) が現在の私の状況では唯一実行可能なようです。 で、mpfr-3.1.6 をビルドしてライブラリをインストールして、コマンドが走るようになりました。 ありがとうございます。 0605名称未設定2021/07/16(金) 00:39:09.89ID:ScL0jVD10>>603 ちなみに、 それは brew コマンドでサポートしていたら(Fomulaとしてかな?)ので、あればそれ、 無かった場合のもググった中にある。gitでコミットハッシュ調べて、過去に戻ってという (まあ、それも面倒だからtarからでのでいいならそれでだわなあ) 0606名称未設定2021/07/16(金) 01:10:41.40ID:++lYM8TM0 最新のやつ入れて必要なものにリネームしたらどうなる? 06075992021/07/16(金) 10:18:54.55ID:NkTBD1pO0>>605 ふむむ、では毒を喰らえば... mpfr.rb の古いリビジョンをチェックアウトしてみたら、brew install mpfrでエラーが。 Error: mpfr: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
>brew install gcc@10 ==> Downloading https://formulae.brew.sh/api/formula.jws.json ######################################################################## 100.0% gcc@10: The x86_64 architecture is required for this software.
別にgcc 10に拘る必要ないんじゃね。最新のgccでいいんじゃないの まあメジャーバージョンアップでエラーがゾロゾロ出ることもあるけど(だいたいがwarningだが) 0683名称未設定2023/04/17(月) 18:18:10.47ID:370gsz9h0 gcc大元でも10は未対応で終わったのかな https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168 一番最後に(ちょっと前に)forkで対応したのあるよってあるな。って、13なのか。大元でもまだ未対応?? 0684名称未設定2023/04/17(月) 18:27:40.20ID:370gsz9h0 NetHack自体はmacOSに対応してる Patch file for building 3.6.7 with newer headers on macOS with some toolchains. てちっちゃなパッチは必要、本家が提供してる
日本語対応パッチでそんなgccが必要というほどのことはそれほど/ほとんど無さそうだけどなあ。自力でclangでビルドできるようにできるんじゃないの 0685名称未設定2023/04/17(月) 18:30:46.01ID:370gsz9h0 >NetHack自体はmacOSに対応してる 3.6.7 が 16 Feb 2023、macOSでビルド用のパッチが 24 Feb 2023、だから全然古いソフトではなく、最新のmacOSにも対応してるだろう 0686名称未設定2023/09/20(水) 14:59:32.04ID:Hsqo7tAJ0 homebrewでPostgreSQLを使って、Mac立ち上げ時にPostgreSQL起動したいんだけどできません。(ventura)