&tag(Ruby/インストール);
*目次 [#l5a20427]
#contents
*参考情報 [#z47fd1a0]

*Linuxへインストール [#q6e47cb8]
-ソースコードのtarballをダウンロードし展開する。
-そのフォルダに移動し次の順にコマンドを実行。
#pre{{
$ ./configure
$ make
$ sudo make install
}}
-デフォルトで/usr/local以下にインストールされる。これを変更したい場合configureのオプションで--prefixを指定する。
 $ ./configure --prefix=/usr

*ruby 1.9.2-p290をMac OS X (Lion)へインストール [#ndcbdaa2]
-ソースコードのtarballをダウンロードし展開する。
-./configure実行。sys/statfs.hが見つからないらしいが大丈夫か?
#pre{{
checking whether OS depend dynamic link works... In file included from /usr/local/include/fuse/fuse.h:26,
                 from <command-line>:0:
/usr/local/include/fuse/fuse_common.h:32:2: error: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
In file included from /usr/local/include/fuse/fuse.h:857,
                 from <command-line>:0:
/usr/local/include/fuse/fuse_compat.h:69:24: error: sys/statfs.h: No such file or directory
yes
}}
-./makeを実行。
-./make testでいくつかエラー発生。
-素直にMacPorts版を使った方がいいのかも。


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS