July 18, 2007
twitter つぶやき
twitterという、つぶやきを書き込むブログのようなのがあるそうだ。http://twitter.com/de_co
16:31:07 |
deco |
comments(0) |
DISALLOWED (TrackBack) TrackBacks
June 18, 2007
iMacG5 でRuby
Mac OS X 10.4 Tiger のRubyは、1.8.2なので、最新の1.8.6にしてみた。
Fink には、1.8.6がない。
MacPorts
http://www.macports.org/
を使う。
それから、バージョン管理システムも必要!
CVS は前使っていたことがあるが、
日本語ディレクトリ/ファイル名がうまくいかなかった。
日常のファイルでは日本語ファイル名を使用することもあるので、
SubVersionを使う。
サブマシンがkohjinsha SA1F00D (WindowsXP Home)なので
これからも使えるように WevDAV対応する。
結局、以下のインストールをする。
Ruby 1.8.6
subversion 1.4.4
Apache 2.4.4 + mod_dav_svn
あと、Ruby onRailsも入れねば、
(後半へ)
13:52:43 |
deco |
comments(0) |
DISALLOWED (TrackBack) TrackBacks
June 12, 2007
MacOSX 10.4(PowrPC)にRuby1.8.6
先週末 Ruby会議2007が開かれたそうだ、行きたかった。
こないだまでロボット製作に集中していたので、すっかり気がつかずにいた。
で、僕のiMacG5にRubyを入れてみることにした。
もちろん、MacOS X 10.4 にはデフォルトで入っているRubyは1.8.2だ。
最新版の1.8.6にしてみよう。
Fink や MacPorts のはRubyが最新でないはので、
ソースを入手しコンパイルする。
$ ./configure
$ make
・・・
*****************************************************************************
**
** PTHREAD SUPPORT MODE ERROR:
**
** Ruby is not compiled with --enable-pthread, but your Tcl/Tk
** library seems to be compiled with pthread support. This
** combination may cause frequent hang or segmentation fault
** errors when Ruby/Tk is working. We recommend that you NEVER
** create the library with such a combination of pthread support.
**
** Please recompile Ruby with the "--enable-pthread" configure option
** or recompile Tcl/Tk with the "--disable-threads" configure option.
**
*****************************************************************************
・・・
あれれ、ERRORか?
インストールされているtkと合わないので、コンパイルオプションをつけろとか言ってる。他にもwarninng が出るぞ!
はて?ググってみる。ココにヒントがあった
さくーしゃのブログ
そういうことね。
$ ./configure --enable-shared --enable-pthread
$ make
$ make test
$ sudo make install
でOK!
00:01:35 |
deco |
comments(0) |
DISALLOWED (TrackBack) TrackBacks