- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2023-09-29T18:52:30+09:00","","")
#author("2023-10-01T11:20:54+09:00","","")
[[Computer/Mac/OSX]]
*macOS 14 Sonoma [#ubc3875a]
**マイナーバージョン [#f95aa36e]
|~Product|~Build|~Darwin|~xnu|~Safari|~日付|~備考|
|14.0|23A344|23.0.0|xnu-10002.1.13~1|17.0|2023/09/27||
**インストール [#t180c4a2]
+OSのインストーラのダウンロード
+OSのインストーラのダウンロード(Sonomaが最新OSである期間内の方法).
$ softwareupdate --fetch-full-installer
+Pathとcronの設定
--/etc/paths.d/
--/etc/daily.local
+atサービスの有効化
$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
+crontabの読み込み.
$ crontab <crontab_bak.txt
+[キーボード]-「キーボードナビゲーション」をOnにするとTabキーでフォーカスを移動できるようになる.
+CommandLineTools
+ソフトウェアのインストール
--Acrobat Reader
--VLC
--pdftk
--ffmpeg. arm64では次の作業が必要.
$ xattr -cr ffmpeg
$ codesign -s - ffmpeg
+GnuPG for OS X
$ sudo ln -s /usr/local/gnupg-2.4/bin/gpg-agent /usr/local/bin/
$ sudo ln -s /usr/local/gnupg-2.4/bin/gpg-connect-agent /usr/local/bin/
+Emacs for Mac OS X. リンクを張っておくとターミナルでも利用できる.
$ sudo ln -s /Applications/Emacs.app/Contents/MacOS/Emacs /usr/local/bin/emacs
+古いバージョンのmacOSへのsshでのアクセスでエラーが出るとき.
**コンパイル [#v4b34309]
+gmp (-> nettle)
$ ./configure --enable-cxx && make && make check
+pcre2
+openssl 3: エラーが出る場合は https://zenn.dev/tatsuto/articles/openssl-source-build 参照.
$ ./Configure && make && sudo make install
+nettle
$ /configure --disable-static && make
+古いバージョンのmacOSへのsshでのアクセスでエラーが出るとき.
+pkg-config (-> gnutls, wget2)
$ ./configure --with-internal-glib && make
+texinfo
+libunistring (-> gnutls)
+libtasn1 (-> gnutls)
+gnutls
$ ./configure --without-p11-kit --disable-doc && make
+wget2
+nkf
+stunnel
$ ./configure --disable-libwrap --with-ssl=/usr/local/ssl/macos-arm64/
+ghostscript
$ ./configure --disable-compile-inits --without-x --disable-cups --without-tesseract --prefix=/usr/local
+mew(/usr/local以下にインストールする場合)
$ ./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs
$ make && sudo make install && sudo make install-jinfo
+YaTeX(/usr/local以下にインストールする場合).
# makefile
EMACS = /Applications/Emacs.app/Contents/MacOS/Emacs
PREFIX = /usr/local
EMACSDIR = ${PREFIX}/share/emacs
$ sudo make install && sudo make install-info
**対象モデル [#ra086d25]
年号のついているものはその年号以降のモデルが対象.
-iMac 2019
-iMac Pro
-MacBook Air 2018
-MacBook Pro 2018
-Mac Pro 2019
-Mac Studio
-Mac mini 2018