make
make static
そうすると、libming.so, libming.aができあがる。
●次にRuby moduleのコンパイル
cd rb_ext
ruby extconf.rb --with-ming-include=.. --with-ming-lib=..
make
make install
mingc.so -> C:/cygwin/usr/local/lib/ruby/1.6/i586-mingw32/mingc.so
chmod 0555 C:/cygwin/usr/local/lib/ruby/1.6/i586-mingw32/mingc.so
が、、、うまく動かない。ということでLinux上でコンパイルしてみる。
●Debianでやってみる。
/home/eto/work/ming-0.2aへ解凍。
cd ~/work/ming-0.2a/src
make
make static
cd ../rb_ext
ruby extconf.rb --with-ming-include=.. --with-ming-lib=..
●swigが必要であった。
dselectでswigをいれると、SWIG version 1.1である。こりゃ古すぎる。 http://prdownloads.sourceforge.net/swig/swig-1.3.9.tar.gz
./configure
make
make install
これでOK。
■remove-plus
Dir.glob("*.rb").each {|filename|
p filename
open(filename){|iff|
open("new/"+filename, "w"){|off|
while iff.gets
$_.sub!(/^\+/, "")
off.print
end
}
}
}
しかしうまく動かない。なぜじゃー。
C:\work\ming-examples\rb>ruby action.rb
→クセナキス、UPIC、シリーズ
→「模型は心を持ちうるか」、1-14号 http://www.groupc.net/c.html
パメラ・マコーダック「コンピューター画家アーロンの誕生」
Harold Cohen, the further exploits of AARON, Painter, http://www.stanford.edu/group/SHR/4-2/text/cohen.html
まず普通のVisualC++でRubyをコンパイルすることを考えてみよう。
ruby-lang.org/.../ruby-1.6.5.tar.gz
これをもってきて解凍する。tar.gzの解凍にはeoを使うとよい。
c:\ruby-1.6.5というディレクトリーに解凍する。
cd ruby-1.6.5
cd windows
compile.bat
とするとコンパイルしてくれる。
ruby.exeというバイナリーができあがる。
デスクトップにCygwin shellというショートカットができているので立ち上
げてみよう。bashが起動する。ここから先は、かなり普通のUnix環境だ。
vi ~/.bashrcとやって環境を作ったりしよう。
tcshも使える。
ショートカットの実体はc:\cygwin\shell.batである。
さて、Cygwin開発環境において、ごく普通にRubyをコンパイルしてみるとする。
c:\cygwin\home\eto\ruby-1.6.5となるように解凍する。(もちろんetoのところは適宜置き換える。)
% cd ~/ruby-1.6.5
% ./configure
% make
% make install
これでOK。簡単ですな!
Walter Vender
→Alan Kay、Technology is anything invented after you were born.
→Bill Buxton、Moore's Law vs. God's law
→but, 豊かさは複雑さからくる。
1983年にstart.
1978年、broadcasting, publishing, computingの交わるところというコンセプトができた。
School of Architecture.にいるので工学ではない。
2000年、その三つはかなり重なってきた。
→30人の教授
→物理で博士をとって、5年間中央アメリカでフォトジャーナリストになって、
MediaLabで信号処理工学。
1. information and physical embodiement
2. develop grammarts
3.
4. Humanities
5. Create a theory for scaling resources.
6. Develop approptiate solutions to profound social...