Erlang をインストールした

Erlang Super Lite(仮) 準備会にて必要かと思って,Erlang をインストールする流れ.

ご参考

以下はただのログっぽいこと.

いつものように,port install erlang したのだけど,
expat が,universal が無いときにインストールしたみたいだったので,
variant +universal で,upgrade した.
けど,erlang が +universal でbuild できなかったので,-universal
なんのために,upgrade したのか.

$ port installed|egrep expat
  expat @2.0.1_0 (active)
$ sudo port -ncuf upgrade expat
Warning: Skipping upgrade since expat 2.0.1_0 >= expat 2.0.1_0, even though installed variants "" do not match "+universal". Use 'upgrade --enforce-variants' to switch to the requested variants.
$ sudo port -ncuf upgrade --enforce-variants expat
$ port installed|egrep expat
  expat @2.0.1_0+universal (active)
$ sudo port install erlang -universal

error の辺.
thread no で smp enable にできんとか.
thread はどこいったんだ?

checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... no
checking if the '-pthread' switch can be used... no
checking whether default stack size should be modified... no
checking for void *... (cached) yes
checking size of void *... (cached) 8
checking whether an emulator with smp support should be built... yes; enabled by user
configure: error: cannot build smp enabled emulator since no thread library was found
configure: error: /bin/sh '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/configure' failed for erts

    while executing
"$procedure $targetname"
Warning: the following items did not execute (for erlang): org.macports.activate org.macp
orts.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

そんなことより,本が実家っぽい.どうするかな.

http://www.amazon.co.jp/exec/obidos/ASIN/4274067149/search042-22/ref=nosim/
プログラミングErlang