Annotation of OpenXM/src/asir-mode/install.txt, Revision 1.8
1.1 takayama 1: emacs/asir for MacOS X.
2:
1.6 takayama 3: -1. Install xcode and xcode command line developper tools.
4: Once you have installed, run
5: xcode-select --install
1.7 takayama 6: xcodebuild -license
1.5 takayama 7: Install XQuartz (X11 system for Mac).
1.1 takayama 8: 0. If you do not have emacs with GUI, install emacs, e.g., by homebrew.
9: (preinstalled emacs is too old.)
10: 1. Download the diskimage emacs-asir-on-mac.dmg and copy the folder OpenXM to the Desktop.
11: 2. Start the terminal and type in the following commands.
12:
13: cd ~/Desktop/OpenXM/rc
1.4 takayama 14: make install-emacs-asir-on-mac
1.1 takayama 15:
16: 3. Login again and start emacs. Open a file with .rr extension, e.g., emacs test.rr &
17: Your emacs will have a menu "asir".
18:
1.3 takayama 19: Note:
20: If you do not want to load names.rr (the standard library) automatically,
21: do as follows after 2
22: make norc-fix
1.1 takayama 23:
24: ---------
1.6 takayama 25: -1. xcode と xcode commandline developper tools (App store から入手可能) を install.
26: xdode をインストールしたら下記のライセンスへの同意等をする.
27: xcode-select --install
1.7 takayama 28: xcodebuild -license
1.5 takayama 29: XQuartz (X11 system for Mac) をインストール.
1.1 takayama 30: 0. GUI版の emacs を持っていない場合は homebrew などで install する
31: ( [emacs mac] 検索 )
32: 1. emacs-asir-on-mac.dmg をダウンロードして, OpenXM フォルダを Desktop へコピー.
33: 2. ターミナルを開き次のコマンドを入力.
34:
35: cd ~/Desktop/OpenXM/rc
1.4 takayama 36: make install-emacs-asir-on-mac
1.1 takayama 37:
38: 3. 再度 login して, emacs で .rr を拡張子に持つファイルを開くと emacs のメニューに "asir" メニューが出ているはずです.
39:
1.3 takayama 40: Note:
41: asir に names.rr (標準ライブラリ) を自動ロードしない場合は,
42: 2. の最後に
43: make norc-fix
44:
1.1 takayama 45: -------- trouble shoot.
46:
47:
48:
1.2 takayama 49: ------- Note for develppers.
50: cd OpenXM/src
51: make configure-static; make install cf. src/cfep
52: pushd ../rc ; make ; source ./dot.bashrc ; popd
53: cd asir-mode
54: make build-for-mac
55:
1.8 ! takayama 56: The source code can be obtainable from Download of http://www.openxm.org
! 57: The building is relatively easy on MacOS X with Xcode and some additional tools in homebrew.
! 58:
! 59: ------- How to remove
! 60: 1. Move the OpenXM folder to the trash.
! 61: 2. rm ~/bin/openxm
! 62: 3. Remove the following lines in ~/.emacs.d/init.d
! 63: ;;
! 64: ;; Added by use-asir-mode.sh
! 65: (add-to-list 'load-path "~/.emacs.d/OpenXM/")
! 66: (setq auto-mode-alist (cons '("\\.rr$" . asir-mode) auto-mode-alist))
! 67: (autoload 'asir-mode "asir-mode" "Asir mode" t)
! 68: ------- 削除法
! 69: 1. Desktop の OpenXM をゴミ箱へ.
! 70: 2. rm ~/bin/openxm
! 71: 3. ~/.emacs.d/init.el の 下記を消す.
! 72: ;;
! 73: ;; Added by use-asir-mode.sh
! 74: (add-to-list 'load-path "~/.emacs.d/OpenXM/")
! 75: (setq auto-mode-alist (cons '("\\.rr$" . asir-mode) auto-mode-alist))
! 76: (autoload 'asir-mode "asir-mode" "Asir mode" t)
! 77:
! 78:
! 79: $OpenXM: OpenXM/src/asir-mode/install.txt,v 1.7 2019/11/16 10:57:21 takayama Exp $
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>