Finkのインストール(MacOS 10.6)
Snow LeopardでFinkをインストールしました.詳しい手順はFink - Source Release Downloadを参照してください.
1. ダウンロード
fink-0.29.10.tar.gzをダウンロード.保存場所は適当な場所でOKです.
$ tar -xvzf fink-0.29.10.tar.gz
$ cd fink-0.29.10
2. インストール
32bitと64bitがありますが32bit版を選択,インストール先は'/sw'としました.
エラーがです./usr/bin/pod2manに実行権限が無い事が原因のようなので,権限を変更しました.
$ ./bootstrap
(略)
pod2man --section=1 /sw/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/scripts/dpkg-architecture.pl > dpkg-architecture.1
/bin/sh: /usr/bin/pod2man: Permission denied
make[2]: *** [dpkg-architecture.1] Error 126
make[1]: *** [all-scripts] Error 2
make: *** [all-recursive] Error 2
### execution of make failed, exit code 2
phase compiling: dpkg-bootstrap-1.10.21-1218 failed
(略)
再実行.
$ ls -l /usr/bin/pod2man
-rw-rw-rw- 34 root wheel 807 6 24 2009 /usr/bin/pod2man
$ sudo chmod 755 /usr/bin/pod2man
$ ls -l /usr/bin/pod2man
-rwxr-xr-x 34 root wheel 807 6 24 2009 /usr/bin/pod2man
今度はうまく行きました.
$ ./bootstrap
Fink must be installed and run with superuser (root) privileges. Fink can automatically try to become root when it's run from a user account.
Since you're currently running this script as a normal user, the method you choose will also be used immediately for this script. Avaliable
methods:(1) Use sudo
(2) Use su
(3) None, fink must be run as rootChoose a method: [1]
Your hardware is a 64bit-compatible intel processor, so you have the option of running Fink in 64bit-only mode. This is not recommended for
most users, since many more packages are available for the default mode (which is mostly 32bit but includes some 64bit packages). Which mode
would you like to use?(1) Default (mostly 32bit)
(2) 64bit-onlyChoose a mode: [1]
(略)
Run '. /sw/bin/init.sh' to set up this terminal session environment to use Fink. To make the software installed by Fink available in all of
your future terminal shells, add '. /sw/bin/init.sh' to the init script '.profile' or '.bash_profile' in your home directory. The program
/sw/bin/pathsetup.sh can help with this. Enjoy.
3. セットアップ
一度ターミナルを終了してから,以下のコマンドを実行します.
$ /sw/bin/pathsetup.sh
無事インストールできました.