10.1 へのインストール記録はこちら
10.2 へのインストール記録はこちら
10.3 へのインストール記録はこちら
10.4 へのインストール記録はこちら
10.5 へのインストール記録はこちら
10.6 へのインストール記録はこちら
10.7 へのインストール記録はこちら
10.10 から 10.11 へのアップデート記録はこちら
以下,試行錯誤しながらおこなったので,この通りにやっても,うまくいかないかも
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install nkf
brew install ghostscript --with-x11
sudo tlmgr update --self -all sudo mkdir -p /usr/local/texlive/texmf-local/fonts/opentype/hiragino cd /usr/local/texlive/texmf-local/fonts/opentype/hiragino # ここへ,古いヒラギノフォントをコピー sudo mktexlsr sudo kanji-config-updmap-sys hiragino-elcapitan-pron cd /usr/local/texlive/2015/texmf-dist/scripts/cjk-gs-integrate sudo perl cjk-gs-integrate.pl --link-texmf --force
sudo tlmgr repository add http://www.tug.org/~preining/tlptexlive/ tlptexlive sudo tlmgr pinning add tlptexlive '*' sudo tlmgr install pxdvi hiraprop cd /usr/local/texlive/texmf-local/web2c sudo ln -s ../../2015/texmf-dist/web2c/texmf.cnf .
brew install gnuplot --with-pdflib-lite --with-x11
brew install homebrew/x11/gv
brew install netpbm
brew install tgif
./configure make make install
cd File-MMagic perl Makefile.PL make sudo make install cd .. ./configure export LC_ALL=C make install sudo cp /usr/local/libexec/namazu.cgi /Library/WebServer/CGI-Executables
sudo vi /etc/apache2/httpd.conf 以下の行をコメントアウト L.157: #LoadModule cgi_module libexec/apache2/mod_cgi.so L.166: #LoadModule userdir_module libexec/apache2/mod_userdir.so L.169: #LoadModule php5_module libexec/apache2/libphp5.so L.493: #Include /private/etc/apache2/extra/httpd-userdir.conf sudo vi /etc/apache2/extra/httpd-userdir.conf 以下の行をコメントアウト L.16: #Include /private/etc/apache2/users/*.conf sudo vi /etc/apache2/users/<user_name>.conf (<user_name>は使用するユーザ名,ファイルの1行目も同じ) 以下の内容で作成<Directory "/Users/<user_name>/Sites/"> Options Indexes MultiViews AllowOverride All Order allow,deny Allow from all Require all granted </Directory>sudo apachectl start
brew install wv
./configure make make install
brew install xpdf tar xzvf <somewhere>/xpdf-japanese.tar.gz mkdir /usr/local/share/xpdf mv xpdf-japanese /usr/local/share/xpdf/japanese # /usr/local/share/xpdf/japanese/add-to-xpdfrc の内容を /usr/local/etc/xpdfrc の最後に追加する。
patch -p1 < l2h-2015-jp2.1b1.14.patch ./configure --prefix=/usr/local --with-kanji=utf8 make install図の背景が灰色になってしまう。 設定ファイル.latex2html-init に
$LATEX_COLOR = "\\pagecolor[rgb]{1,1,1}";を追加することで,白くなった。
&do_require_package("japanese"); $TITLES_LANGUAGE = "japanese";
brew install mecab brew install mecab-ipadic --charset=utf8
sudo dseditgroup -o edit -a <group> -t group _developer sudo /usr/sbin/DevToolsSecurity -enable
<group>は,Xcodeを使用するユーザが属するグループ。
ローカルネットワーク上のグループでも良いみたい。
emacs-macが便利のようなので,導入。
(Carbon Emacs はアプリ名を変更しておく)
(Homebrewをアップデートしないとうまくいかなかった)
brew update
brew tap railwaycat/emacsmacport brew install emacs-mac --with-modern-icon
インストールや各種設定は,このページを参考にさせていただいた。
(日本語入力時にカーソルの色を変える機能が便利すぎる。)
パッケージでmewをインストールすると,mewのバイナリーが入らないみたいなので,
別にインストール。
cd mew-6.7 ./configure cd bin make make install
メールに含まれた丸数字などが読めなくて困っていたが, ここのページに書かれている設定を追加したら読めるようになった。
上で参考にしたemacsの設定でrictyを使っているので,プログラミング用フォントrictyもインストール。
(全角スペースは見えないままでいいかな)
brew tap sanemat/font brew install ricty --disable-visible-space cp -f /usr/local/Cellar/ricty/4.0.1/share/fonts/Ricty*.ttf ~/Library/Fonts/ fc-cache -vf
swift 2.x で作ったプログラムが動かなくなり,コンパイルもできなくなった。
あちこち調べて,とりあえずなんとかコンパイルできて,実行できるようになった。
MacOSX10.11.sdk を以下からダウンロード https://github.com/phracker/MacOSX-SDKs/releases 以下のディレクトリに展開 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs 以下のコマンドでコンパイルできた。 xcrun --sdk macosx10.11 --toolchain com.apple.dt.toolchain.Swift_2_3 swiftc ソースファイル.swift
Command_Line_Tools_OS_X_10.11_for_Xcode_7.3.1.dmg のインストールが必要かも。
brew install ispell